Browse Source

新建文件 Dockerfile

hunankede 1 year ago
parent
commit
66fa33e6f1
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Dockerfile

+ 7 - 0
Dockerfile

@@ -0,0 +1,7 @@
+FROM nginx:alpine
+WORKDIR /app
+COPY dist /app
+COPY nginx/nginx.conf /etc/nginx/
+COPY nginx/conf.d/default.conf /etc/nginx/conf.d
+
+EXPOSE 8080