This commit is contained in:
Jay
2018-06-25 18:07:10 +08:00
commit 075b68012e
9 changed files with 120 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM node:8
LABEL maintainer="Jay <jie.chen@tw.viewsonic.com>"
ENV NODE_PORT 5111
RUN mkdir -p /data
WORKDIR /data
COPY . .
RUN rm .env
RUN npm install
EXPOSE ${NODE_PORT}
CMD ["npm", "start"]