Browse Source

Added Dockerfile.

master
Gisle Aune 5 years ago
parent
commit
c084f24040
  1. 15
      Dockerfile

15
Dockerfile

@ -0,0 +1,15 @@
FROM node:8.15.0 as build
WORKDIR /ngn4
COPY . /ngn4/
RUN rm -rf data node_modules .git Dockerfile screenlog.0 access.log
RUN npm install
FROM node:8.15.0 as dist
COPY --from=0 /ngn4 /ngn4
WORKDIR /ngn4
CMD ["/usr/local/bin/node", "."]
Loading…
Cancel
Save