This commit is contained in:
张威33321
2026-09-08 17:00:51 +08:00
parent e0f7e4ddbf
commit a9de3eb853
4 changed files with 58 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
services:
web:
build: .
image: zeshu-office-site:latest
container_name: zeshu-office-site
ports:
- "8080:80" # 宿主机 8080 → 容器 80可改为 "80:80"
restart: unless-stopped
# 如需挂载本地文件实时预览(开发用),取消下面两行注释
# volumes:
# - ./index.html:/usr/share/nginx/html/index.html:ro
# - ./guide.html:/usr/share/nginx/html/guide.html:ro
# - ./report.html:/usr/share/nginx/html/report.html:ro
# - ./support.html:/usr/share/nginx/html/support.html:ro
# - ./assets:/usr/share/nginx/html/assets:ro