diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 75a6ffa..3e3732a --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: dev prod down clean +.PHONY: dev prod down clean clean-slate VERSION ?= latest REGISTRY := gitea.pragmazest.com/cardosofelipe/app @@ -20,6 +20,10 @@ deploy: clean: docker compose down - +# WARNING! THIS REMOVES CONTAINERS AND VOLUMES AS WELL - DO NOT USE THIS UNLESS YOU WANT TO START OVER WITH DATA AND ALL +clean-slate: + docker compose down -v + push-images: docker build -t $(REGISTRY)/backend:$(VERSION) ./backend docker build -t $(REGISTRY)/frontend:$(VERSION) ./frontend