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
|
# Full deploy: pull, build, restart
|
||||||
deploy:
|
deploy:
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
docker-compose down
|
||||||
docker-compose build
|
docker-compose build
|
||||||
docker-compose up -d
|
docker-compose up -d --force-recreate
|
||||||
|
|
||||||
# Rebuild without cache
|
# Rebuild without cache
|
||||||
rebuild:
|
rebuild:
|
||||||
|
docker-compose down
|
||||||
docker-compose build --no-cache
|
docker-compose build --no-cache
|
||||||
docker-compose up -d
|
docker-compose up -d --force-recreate
|
||||||
|
|
||||||
# Show status
|
# Show status
|
||||||
status:
|
status:
|
||||||
|
|||||||
Reference in New Issue
Block a user