chg: Added stopping the docker image to make clean

This commit is contained in:
SinTan1729 2024-03-25 16:44:47 -05:00
parent 0cfa674029
commit 731cb41646
No known key found for this signature in database
GPG Key ID: EB3E68BFBA25C85F

View File

@ -35,6 +35,8 @@ docker-release: build-release
---tag ${DOCKER_USERNAME}/chhoto-url:latest -platform linux/amd64,linux/arm64,linux/arm/v7 -f Dockerfile.multiarch .
clean:
docker ps -q --filter "name=chhoto-url" | xargs -r docker stop
docker ps -aq --filter "name=chhoto-url" | xargs -r docker rm
cargo clean --manifest-path=actix/Cargo.toml
.PHONY: build-dev docker-local build-release