Fix deploy: add down and force-recreate to avoid ContainerConfig error
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -54,13 +54,15 @@ pull:
|
||||
# Full deploy: pull, build, restart
|
||||
deploy:
|
||||
git pull origin main
|
||||
docker-compose down
|
||||
docker-compose build
|
||||
docker-compose up -d
|
||||
docker-compose up -d --force-recreate
|
||||
|
||||
# Rebuild without cache
|
||||
rebuild:
|
||||
docker-compose down
|
||||
docker-compose build --no-cache
|
||||
docker-compose up -d
|
||||
docker-compose up -d --force-recreate
|
||||
|
||||
# Show status
|
||||
status:
|
||||
|
||||
Reference in New Issue
Block a user