2 Commits ff1e7142cb ... a409a66983

Autor SHA1 Mensaje Fecha
  xiaoqinghui ff1e7142cb Merge branch 'sit' of http://8.152.195.41:3000/alien/alien_py_cloud into sit hace 1 mes
  xiaoqinghui f133b7ee9b Dockerfile 为Poetry指定镜像源 hace 1 mes
Se han modificado 2 ficheros con 2 adiciones y 6 borrados
  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 . .