Fix cleanup in Makefile by removing volumes with docker compose

Updated the `clean` target to use `docker compose down -v`, ensuring that volumes are also removed during cleanup. This prevents leftover volumes from persisting and occupying unnecessary space.
This commit is contained in:
2025-03-12 15:21:54 +01:00
parent 4b01d6f58f
commit 1abc4a743a

View File

@@ -18,7 +18,7 @@ deploy:
docker compose -f docker-compose.deploy.yml up -d
clean:
docker compose down -
docker compose down -v
push-images:
docker build -t $(REGISTRY)/backend:$(VERSION) ./backend