authelia/Dockerfile

17 lines
262 B
Docker
Raw Normal View History

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