Skip to content

Commit

Permalink
fix: run-docker after pulling code
Browse files Browse the repository at this point in the history
After pull new code, the run-docker was still using old code.
  • Loading branch information
igobranco committed Nov 29, 2023
1 parent e8351e9 commit dfe05a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ ifneq ($(APP), false)
endif
RUN_DOCKER_DEV = COMPOSE_FILE=$(COMPOSE_FILE) $(DOCKER_COMPOSE) up -d --remove-orphans
KILL_DOCKER_DEV = COMPOSE_FILE=$(COMPOSE_FILE) $(DOCKER_COMPOSE) down
BUILD_DOCKER_DEV = COMPOSE_FILE=$(COMPOSE_FILE) $(DOCKER_COMPOSE) build
PRUNE_DOCKER = docker system prune -af
CREATESUPERUSER = $(POETRY_RUN) python manage.py add_superuser --no-input --settings=nau_financial_manager.settings

Expand Down Expand Up @@ -78,6 +79,7 @@ kill: ## stop django server in your host
.PHONY: kill

run-docker: ## run django server in docker in dev mode
$(BUILD_DOCKER_DEV)
$(RUN_DOCKER_DEV)
@echo "The should be running on http://localhost:8000"
.PHONY: run-docker
Expand Down

0 comments on commit dfe05a9

Please sign in to comment.