diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -3,7 +3,7 @@ SHELL := /bin/bash .PHONY: api api: ## Run API - @poetry run uvicorn poker.api:app + @poetry run uvicorn --host 0.0.0.0 poker.api:app .PHONY: black black: ## Run black formatter @@ -13,6 +13,10 @@ black: ## Run black formatter black-check: ## Run black formatter @poetry run black poker tests --check; +.PHONY: build +build: ## Build Docker container + @COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker compose -f compose.yml build; + .PHONY: clean clean: ## Remove python cache files -@find . -name '*.pyc' -exec rm -f {} +; @@ -79,4 +83,4 @@ uninstall: ## Remove virtual environment .PHONY: update update: ## Update poetry.lock using pyproject.toml - @poetry update;
\ No newline at end of file + @poetry update; |