authelia/Dockerfile

17 lines
264 B
Docker

FROM node:7-alpine
WORKDIR /usr/src
COPY package.json /usr/src/package.json
RUN npm install --production
COPY dist/src /usr/src
ENV PORT=80
EXPOSE 80
VOLUME /etc/auth-server
VOLUME /var/lib/auth-server
CMD ["node", "index.js", "/etc/auth-server/config.yml"]