Dockerfile: copy app/ + README before pip install for hatchling metadata
Some checks are pending
build / lint-test (push) Waiting to run
build / build-push (push) Blocked by required conditions

This commit is contained in:
kianiadee 2026-05-23 01:16:10 +03:00
parent a40c6838d9
commit 1dcfe9b773

View file

@ -15,7 +15,8 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends build-essential libpq-dev \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml ./
COPY pyproject.toml README.md ./
COPY app/ ./app/
RUN python -m venv /opt/venv \
&& /opt/venv/bin/pip install --upgrade pip \
&& /opt/venv/bin/pip install .