[+] improve compose

This commit is contained in:
Siarhei Siniak 2025-07-01 11:05:50 +03:00
parent a0f1654cf5
commit c2fecdd87c
2 changed files with 7 additions and 0 deletions

@ -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

@ -1,5 +1,6 @@
services:
web:
image: online.fxreader.pr34.test_task_2025_06_30_v1:dev
build:
context: .
dockerfile: ./docker/web/Dockerfile