Browse Source

Docker配置

yingp 7 years ago
parent
commit
d911ff162e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      Dockerfile

+ 11 - 0
Dockerfile

@@ -0,0 +1,11 @@
+FROM 10.10.100.200:5000/node-webpack:0.0.1
+
+RUN mkdir -p /app
+WORKDIR /app
+
+COPY . /app
+RUN cnpm install
+RUN npm build
+
+EXPOSE 3000
+CMD [ "npm", "start" ]