chore: upgrade poetry (#2011)

This commit is contained in:
Sarah Wooders
2025-05-05 15:02:27 -07:00
committed by GitHub
parent a4da3c5192
commit 72333b7d56
2 changed files with 6 additions and 6 deletions

View File

@@ -26,14 +26,14 @@ RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
# Now install poetry in the virtual environment
RUN pip install --no-cache-dir poetry==1.8.2
RUN pip install --no-cache-dir poetry==2.1.3
# Copy dependency files first
COPY pyproject.toml poetry.lock ./
# Then copy the rest of the application code
COPY . .
RUN poetry lock --no-update && \
RUN poetry lock && \
poetry install --all-extras && \
rm -rf $POETRY_CACHE_DIR