Ver Fonte

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

Bowen Liang há 9 meses atrás
pai
commit
9b7c74a5d9
1 ficheiros alterados com 1 adições e 2 exclusões
  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