Browse Source

fix: 修复国外源导致的构建超时问题

TianChenjiang 4 years ago
parent
commit
8b7ca2da6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -9,4 +9,4 @@ RUN yarn build
 
 
 FROM nginx:1.19-alpine
 FROM nginx:1.19-alpine
 COPY nginx.conf /etc/nginx/conf.d/nginx.conf
 COPY nginx.conf /etc/nginx/conf.d/nginx.conf
-COPY --from=base dist /var/www/html/dist/
+COPY --from=base /code/dist/dist /var/www/html/dist/