fix: fix clena_rpod

This commit is contained in:
Nemo D'ACREMONT 2024-12-02 16:11:32 +01:00
parent cfab8ca04d
commit b2aa8ca22e
No known key found for this signature in database
GPG Key ID: 6E5BCE8022FA8276

View File

@ -20,11 +20,13 @@ $(DIR_BACK)/.env: ${DIR_BACK}/.env.example
clean: clean:
${RM} ${DIR_BACK}/.env ${RM} ${DIR_BACK}/.env
# Delete the db volume # Delete the db volume
sudo ${RM} -r dev-db || true
cd ${DIR_SQL} && make clean cd ${DIR_SQL} && make clean
${DOCKER_COMPOSE} -f docker-compose.dev.yml down --rmi local -v --remove-orphans || true ${DOCKER_COMPOSE} -f docker-compose.dev.yml down --rmi local -v --remove-orphans || true
sudo ${RM} -r dev-db || true
clean_prod: clean clean_prod: clean
cd ${DIR_SQL} && make clean
${DOCKER_COMPOSE} -f docker-compose.prod.yml down --rmi local -v --remove-orphans || true ${DOCKER_COMPOSE} -f docker-compose.prod.yml down --rmi local -v --remove-orphans || true
sudo ${RM} -r database || true
.PHONY: clean all prepare_dev build clean_prod .PHONY: clean all prepare_dev build clean_prod