This commit is contained in:
aaron 2025-01-21 15:16:17 +08:00
parent d663418cf8
commit da25d473e3

View File

@ -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