Dockerfile: copy app/ + README before pip install for hatchling metadata
This commit is contained in:
parent
a40c6838d9
commit
1dcfe9b773
1 changed files with 2 additions and 1 deletions
|
|
@ -15,7 +15,8 @@ RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends build-essential libpq-dev \
|
&& apt-get install -y --no-install-recommends build-essential libpq-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY pyproject.toml ./
|
COPY pyproject.toml README.md ./
|
||||||
|
COPY app/ ./app/
|
||||||
RUN python -m venv /opt/venv \
|
RUN python -m venv /opt/venv \
|
||||||
&& /opt/venv/bin/pip install --upgrade pip \
|
&& /opt/venv/bin/pip install --upgrade pip \
|
||||||
&& /opt/venv/bin/pip install .
|
&& /opt/venv/bin/pip install .
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue