authelia/Dockerfile

18 lines
309 B
Docker
Raw Permalink Normal View History

FROM node:7-alpine
2016-12-10 00:47:58 +00:00
WORKDIR /usr/src
COPY package.json /usr/src/package.json
RUN npm install --production
2016-12-10 00:47:58 +00:00
COPY dist/server /usr/src/server
COPY dist/shared /usr/src/shared
2017-01-12 22:27:53 +00:00
ENV PORT=80
EXPOSE 80
VOLUME /etc/authelia
VOLUME /var/lib/authelia
CMD ["node", "server/src/index.js", "/etc/authelia/config.yml"]