Explorar el Código

fix: 前端构建错误

370774330@qq.com hace 5 años
padre
commit
db2328e19e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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/