authelia/Dockerfile

20 lines
385 B
Docker
Raw Normal View History

FROM node:10.16.0-alpine
2016-12-10 00:47:58 +00:00
WORKDIR /usr/src
COPY package.json /usr/src/package.json
RUN apk --update add --no-cache --virtual \
.build-deps make g++ python && \
npm install --production && \
apk del .build-deps
2016-12-10 00:47:58 +00:00
COPY dist/server /usr/src/server
EXPOSE 9091
2017-01-12 22:27:53 +00:00
VOLUME /etc/authelia
VOLUME /var/lib/authelia
CMD ["node", "server/src/index.js", "/etc/authelia/config.yml"]