pyproject-build-2

This commit is contained in:
Untone 2023-10-14 14:54:51 +03:00
parent 499893e10b
commit 84dad8998f

View File

@ -13,6 +13,8 @@ COPY . /app
# Install any needed packages specified in pyproject.toml
RUN apt-get update && apt-get install -y gcc curl && \
curl -sSL https://install.python-poetry.org | python - && \
echo "export PATH=$PATH:/root/.local/bin" >> ~/.bashrc && \
. ~/.bashrc && \
poetry config virtualenvs.create false && \
poetry install --no-dev