Explorar el Código

添加 'DockerfileProd'

fanyong hace 4 semanas
padre
commit
a76d0770c4
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      DockerfileProd

+ 7 - 0
DockerfileProd

@@ -0,0 +1,7 @@
+FROM registry.us-west-1.aliyuncs.com/wehome-base/nginx
+RUN mkdir /usr/share/nginx/app
+RUN mkdir /usr/share/nginx/app/dist
+RUN rm -rf /etc/nginx/nginx.conf
+COPY ./nginx.conf /etc/nginx/nginx.conf
+COPY ./dist /usr/share/nginx/app/dist
+EXPOSE 10000