refactor(deploy): 重构部署流程并添加容器锁机制

- 修改 Docker Compose 配置,简化网络设置
- 新增 Docker 入口脚本,实现容器锁机制
- 更新 Dockerfile,使用新的入口脚本
- 添加 Makefile,简化部署流程
- 优化 Python 脚本,去除冗余的循环结构
This commit is contained in:
danial
2024-12-19 00:44:56 +08:00
parent 911db7d319
commit b56184c673
5 changed files with 32 additions and 24 deletions

3
Makefile Normal file
View File

@@ -0,0 +1,3 @@
deploy:
@echo "Deploying to Docker Compose"
VERSION=0.1 DIR=123 docker compose -f ./deploy/docker-compose.yml up -d