20
0

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 . .