19 lines
321 B
Docker
19 lines
321 B
Docker
FROM node:8.7.0-alpine
|
|
|
|
WORKDIR /usr/app
|
|
|
|
ADD package.json package.json
|
|
|
|
RUN apk --update add --no-cache --virtual \
|
|
.build-deps make g++ python && \
|
|
npm install && \
|
|
apk del .build-deps
|
|
|
|
EXPOSE 8080
|
|
|
|
VOLUME /usr/app/src
|
|
VOLUME /etc/authelia
|
|
VOLUME /var/lib/authelia
|
|
|
|
CMD ["npm", "run-script", "start"]
|