diff --git a/Dockerfile b/Dockerfile index 5c8d6cf..22312fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,4 @@ RUN rm -rf /usr/share/nginx/html/* EXPOSE 80 # 从编译镜像复制编译结果到此镜像 -COPY --from=builder dist /usr/share/nginx/html +COPY --from=builder /app/dist /usr/share/nginx/html