diff options
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -9,14 +9,16 @@ ENV POETRY_VERSION=2.3.2 \ POETRY_VIRTUALENVS_CREATE=false RUN apt-get update \ - && apt-get install -y curl \ + && apt-get install -y \ + curl \ + build-essential \ + libffi-dev \ && rm -rf /var/lib/apt/lists/* RUN curl -sSL https://install.python-poetry.org | python3 ENV PATH="/root/.local/bin:$PATH" -# install dependencies (docker cache layer) COPY pyproject.toml poetry.lock* ./ RUN poetry install --no-root --only main |
