From c2fecdd87cc676d7cbc1fc6f7cb8548a5e929afd Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Tue, 1 Jul 2025 11:05:50 +0300 Subject: [PATCH] [+] improve compose --- deps/test-task-2025-06-30-v1/Makefile | 6 ++++++ deps/test-task-2025-06-30-v1/docker-compose.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/deps/test-task-2025-06-30-v1/Makefile b/deps/test-task-2025-06-30-v1/Makefile index 711f088..43185b5 100644 --- a/deps/test-task-2025-06-30-v1/Makefile +++ b/deps/test-task-2025-06-30-v1/Makefile @@ -1,6 +1,8 @@ ENV_PATH ?= .venv PYTHON_VERSION ?= 3.10 UV_ARGS ?= --offline +DOCKER ?= podman +COMPOSE ?= podman compose venv_extract_requirements: $(ENV_PATH)/bin/tomlq \ @@ -32,3 +34,7 @@ pyright: $(ENV_PATH)/bin/python3 -m pyright \ -p pyproject.toml \ -v $(ENV_PATH) + + +compose_build_web: + $(COMPOSE) build web diff --git a/deps/test-task-2025-06-30-v1/docker-compose.yml b/deps/test-task-2025-06-30-v1/docker-compose.yml index 6a158db..99a297d 100644 --- a/deps/test-task-2025-06-30-v1/docker-compose.yml +++ b/deps/test-task-2025-06-30-v1/docker-compose.yml @@ -1,5 +1,6 @@ services: web: + image: online.fxreader.pr34.test_task_2025_06_30_v1:dev build: context: . dockerfile: ./docker/web/Dockerfile