更新 Dockerfile

This commit is contained in:
ywp
2025-10-22 14:36:04 +08:00
parent e50558fd58
commit 4f28049b8a

View File

@ -28,8 +28,8 @@ COPY --from=builder /app/dist /usr/share/nginx/html
# 复制自定义Nginx配置如有需要 # 复制自定义Nginx配置如有需要
COPY nginx.conf /etc/nginx/conf.d/default.conf COPY nginx.conf /etc/nginx/conf.d/default.conf
# 暴露9800端口 # 3001
EXPOSE 9800 EXPOSE 3001
# 启动Nginx # 启动Nginx
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]