feat: jinja template for cards
This commit is contained in:
@@ -22,6 +22,8 @@ ifeq (,$(shell which podman))
|
||||
endif
|
||||
|
||||
DOCKER ?= podman
|
||||
DOCKER_TAG ?= tout-doux
|
||||
PORT ?= 5000
|
||||
|
||||
APP_EXEC ?= $(DOCKER) compose exec app
|
||||
APP_RUN ?= $(DOCKER) compose run --rm app
|
||||
@@ -147,6 +149,14 @@ docker-compose-down-%: ## docker compose down (container)
|
||||
docker-compose-logs: ## docker compose logs
|
||||
$(DOCKER) compose logs -f || true
|
||||
|
||||
.PHONY: docker-build
|
||||
docker-build: ## docker build
|
||||
$(DOCKER) build . -t $(DOCKER_TAG)
|
||||
|
||||
.PHONY: docker-run
|
||||
docker-run: ## docker run
|
||||
$(DOCKER) run -p $(PORT):5000 $(DOCKER_TAG)
|
||||
|
||||
.PHONY: tortoise-%
|
||||
tortoise-%: .venv ## tortoise (command)
|
||||
$(TORTOISE) --config-file tortoise-dev.json $*
|
||||
|
||||
Reference in New Issue
Block a user