2 Angajamente ff1e7142cb ... a409a66983

Autor SHA1 Permisiunea de a trimite mesaje. Dacă este dezactivată, utilizatorul nu va putea trimite nici un fel de mesaj Data
  xiaoqinghui ff1e7142cb Merge branch 'sit' of http://8.152.195.41:3000/alien/alien_py_cloud into sit 1 lună în urmă
  xiaoqinghui f133b7ee9b Dockerfile 为Poetry指定镜像源 1 lună în urmă
2 a modificat fișierele cu 2 adăugiri și 6 ștergeri
  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 . .