Просмотр исходного кода

dev dockerfile文件配置修复

mengqiankang 1 месяц назад
Родитель
Сommit
8c8a55dfc1
2 измененных файлов с 2 добавлено и 6 удалено
  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 ./