Files
gofly-platform-services/zlt-web/react-web/src/main/frontend/Dockerfile
T

11 lines
239 B
Docker
Raw Normal View History

2025-03-30 22:11:50 +08:00
# 使用轻量级的 nginx 镜像
FROM nginx:alpine
# 复制构建后的文件到 nginx 目录
COPY dist/ /usr/share/nginx/html/
# 复制 nginx 配置文件
COPY nginx.conf /etc/nginx/conf.d/default.conf
# 暴露 8080 端口
EXPOSE 8080