Quellcode durchsuchen

dev dockerfile文件配置修复

mengqiankang vor 1 Monat
Ursprung
Commit
8c8a55dfc1
2 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. 1 3
      alien_gateway/Dockerfile
  2. 1 3
      alien_store/Dockerfile

+ 1 - 3
alien_gateway/Dockerfile

@@ -7,9 +7,7 @@ ENV POETRY_VIRTUALENVS_CREATE=false \
     PYTHONDONTWRITEBYTECODE=1
 
 RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
-    && pip install --no-cache-dir poetry \
-  -i https://pypi.tuna.tsinghua.edu.cn/simple \
-  --trusted-host pypi.tuna.tsinghua.edu.cn
+    && pip install --no-cache-dir poetry
 
 COPY pyproject.toml poetry.lock ./
 

+ 1 - 3
alien_store/Dockerfile

@@ -7,9 +7,7 @@ ENV POETRY_VIRTUALENVS_CREATE=false \
     PYTHONDONTWRITEBYTECODE=1
 
 RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
-    && pip install --no-cache-dir poetry \
-  -i https://pypi.tuna.tsinghua.edu.cn/simple \
-  --trusted-host pypi.tuna.tsinghua.edu.cn
+    && pip install --no-cache-dir poetry
 
 COPY pyproject.toml poetry.lock ./