15 lines
338 B
Makefile
15 lines
338 B
Makefile
##
|
|
# CLEAN
|
|
|
|
.PHONY: clean app-clean
|
|
clean: app-clean docker-compose-down clean-env ## Clean application and docker images
|
|
|
|
# target clean@%: Clean deployed application and docker images
|
|
.PHONY: clean@%
|
|
clean@%:
|
|
$(call make,docker-compose-down DOCKER_COMPOSE_DOWN_OPTIONS='--rmi all -v')
|
|
|
|
.PHONY: clean-env
|
|
clean-env:
|
|
rm -i .env || true
|