chore: skip pip upgrade preparation in api dockerfile (#5999)

This commit is contained in:
Bowen Liang 2024-07-06 14:17:34 +08:00 committed by GitHub
parent 4d105d7bd7
commit 9b7c74a5d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,8 +5,7 @@ WORKDIR /app/api
# Install Poetry
ENV POETRY_VERSION=1.8.3
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir --upgrade poetry==${POETRY_VERSION}
RUN pip install --no-cache-dir poetry==${POETRY_VERSION}
# Configure Poetry
ENV POETRY_CACHE_DIR=/tmp/poetry_cache