Bläddra i källkod

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

Bowen Liang 9 månader sedan
förälder
incheckning
9b7c74a5d9
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. 1 2
      api/Dockerfile

+ 1 - 2
api/Dockerfile

@@ -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