drop.chapril.org-firefoxsend/Dockerfile
2017-06-23 13:19:35 -07:00

15 lines
252 B
Docker

FROM node:8-alpine
RUN addgroup -S -g 10001 app && adduser -S -D -G app -u 10001 app
COPY . /app
RUN chown -R app /app
USER app
WORKDIR /app
RUN mkdir static
RUN npm install && npm cache clean --force
ENV PORT=1443
EXPOSE $PORT
CMD ["npm", "start"]