2017-10-19 22:42:33 +00:00
|
|
|
FROM node:8.7.0-alpine
|
2016-12-10 00:47:58 +00:00
|
|
|
|
|
|
|
WORKDIR /usr/src
|
|
|
|
|
2016-12-17 18:36:41 +00:00
|
|
|
COPY package.json /usr/src/package.json
|
2017-10-19 22:42:33 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
2017-10-06 22:09:42 +00:00
|
|
|
COPY dist/server /usr/src/server
|
|
|
|
COPY dist/shared /usr/src/shared
|
2016-12-17 18:36:41 +00:00
|
|
|
|
2019-01-30 15:47:03 +00:00
|
|
|
EXPOSE 9091
|
2017-01-12 22:27:53 +00:00
|
|
|
|
2017-06-28 13:57:58 +00:00
|
|
|
VOLUME /etc/authelia
|
|
|
|
VOLUME /var/lib/authelia
|
2017-01-21 19:24:35 +00:00
|
|
|
|
2017-10-06 22:09:42 +00:00
|
|
|
CMD ["node", "server/src/index.js", "/etc/authelia/config.yml"]
|