Ver Fonte

fix: 前端构建错误

370774330@qq.com há 5 anos atrás
pai
commit
db2328e19e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web/src/main/resources/template/dockerfile/NODE_10

+ 1 - 1
web/src/main/resources/template/dockerfile/NODE_10

@@ -8,5 +8,5 @@ ADD . /code
 RUN yarn build
 
 FROM nginx:1.19-alpine
-COPY nginx.conf /etc/nginx/conf.d/nginx.conf
+COPY --from=builder /code/nginx.conf /etc/nginx/conf.d/nginx.conf
 COPY --from=builder /code/dist/ /var/www/html/dist/