fix:优化项目内容

This commit is contained in:
Daniel
2026-03-18 17:01:10 +08:00
parent da63282a10
commit 27dc89e251
64 changed files with 3421 additions and 4982 deletions

View File

@@ -1,6 +1,5 @@
# 生产/默认:分层构建,仅代码变更时只重建最后一层
# 开发(代码挂载+热重载): docker compose -f docker-compose.yml -f docker-compose.dev.yml up
# 或执行: ./docker_dev.sh dev
# 生产/默认:前端为静态 SPAVite build + Nginx后端 FastAPI
# 开发:使用 docker-compose.dev.yml容器内 Vite 热更新),执行: ./docker_dev.sh dev
services:
backend:
build:
@@ -16,11 +15,11 @@ services:
frontend:
build:
context: ./frontend
context: ./frontend_spa
dockerfile: Dockerfile
container_name: ops-core-frontend
ports:
- "3000:3000"
- "3000:80"
depends_on:
- backend