diff --git a/Dockerfile b/Dockerfile index 61abd26..2d97824 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 +# 复制 static 目录下的文件到 Nginx 根目录 +COPY static/ /usr/share/nginx/html/ + # 暴露 80 端口 EXPOSE 80 diff --git a/src/static/w2PZhK4ewX.txt b/src/static/w2PZhK4ewX.txt new file mode 100644 index 0000000..b86e5f6 --- /dev/null +++ b/src/static/w2PZhK4ewX.txt @@ -0,0 +1 @@ +377f116f44bc2d536eb1d6db9d339cbd \ No newline at end of file