2 次代碼提交 ff1e7142cb ... a409a66983

作者 SHA1 備註 提交日期
  xiaoqinghui ff1e7142cb Merge branch 'sit' of http://8.152.195.41:3000/alien/alien_py_cloud into sit 1 月之前
  xiaoqinghui f133b7ee9b Dockerfile 为Poetry指定镜像源 1 月之前
共有 2 個文件被更改,包括 2 次插入6 次删除
  1. 1 3
      alien_gateway/Dockerfile
  2. 1 3
      alien_store/Dockerfile

+ 1 - 3
alien_gateway/Dockerfile

@@ -10,9 +10,7 @@ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
     && pip install --no-cache-dir poetry
 
 COPY pyproject.toml poetry.lock ./
-
-RUN poetry source add --priority=primary tsinghua https://pypi.tuna.tsinghua.edu.cn/simple || true \
-    && poetry install --no-root --no-interaction --no-ansi
+RUN poetry install --no-root --no-interaction --no-ansi
 
 COPY . .
 

+ 1 - 3
alien_store/Dockerfile

@@ -10,9 +10,7 @@ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
     && pip install --no-cache-dir poetry
 
 COPY pyproject.toml poetry.lock ./
-
-RUN poetry source add --priority=primary tsinghua https://pypi.tuna.tsinghua.edu.cn/simple || true \
-    && poetry install --no-root --no-interaction --no-ansi
+RUN poetry install --no-root --no-interaction --no-ansi
 
 COPY . .