2 Commits ff1e7142cb ... a409a66983

Author SHA1 Message Date
  xiaoqinghui ff1e7142cb Merge branch 'sit' of http://8.152.195.41:3000/alien/alien_py_cloud into sit 1 month ago
  xiaoqinghui f133b7ee9b Dockerfile 为Poetry指定镜像源 1 month ago
2 changed files with 2 additions and 6 deletions
  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 . .