diff --git a/Dockerfile b/Dockerfile index 7a326bd..b26bde7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ RUN pnpm build # --- 第二阶段:Nginx --- FROM nginx:alpine -COPY nginx.conf /etc/nginx/nginx.conf +COPY nginx.conf /etc/nginx/conf.d/default.conf RUN rm -rf /usr/share/nginx/html/* COPY --from=builder /workspace/docs /usr/share/nginx/html