diff --git a/Dockerfile b/Dockerfile index e4c71f7..70caa1c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,9 @@ FROM nginx:stable-alpine as production-stage # 复制构建产物到 Nginx 目录 COPY --from=build-stage /app/dist /usr/share/nginx/html +# 复制验证文件到 Nginx 根目录 +COPY w2PZhK4ewX.txt /usr/share/nginx/html/w2PZhK4ewX.txt + # 暴露 80 端口 EXPOSE 80