Commit 2a1439e7 authored by Benjamin Rokseth's avatar Benjamin Rokseth
Browse files

Makefile: dont create container on rebuild

parent 1872547e
...@@ -55,8 +55,7 @@ endif ...@@ -55,8 +55,7 @@ endif
rebuild=$(DOCKER_COMPOSE_INIT) && $(DOCKER_COMPOSE) stop $(1) || true &&\ rebuild=$(DOCKER_COMPOSE_INIT) && $(DOCKER_COMPOSE) stop $(1) || true &&\
$(DOCKER_COMPOSE) rm -f $(1) || true &&\ $(DOCKER_COMPOSE) rm -f $(1) || true &&\
$(DOCKER_COMPOSE) build $(CACHE_ARG) $(1) &&\ $(DOCKER_COMPOSE) build $(CACHE_ARG) $(1)
$(DOCKER_COMPOSE) up --force-recreate --no-deps -d $(1)
rebuild_services: ## Force rebuilds services rebuild_services: ## Force rebuilds services
@echo "======= FORCE RECREATING SERVICES ======\n" @echo "======= FORCE RECREATING SERVICES ======\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment