소스 검색

dev dockerfile文件配置修复

mengqiankang 1 개월 전
부모
커밋
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 ./