Added Dockerfile.

This commit is contained in:
2019-01-02 13:48:04 +01:00
parent aa710883f3
commit c084f24040
+15
View File
@@ -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", "."]