Преглед на файлове

uat环境 dockerfile文件配置修复

mengqiankang преди 1 месец
родител
ревизия
d7bce08174
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 2 1
      alien_gateway/Dockerfile
  2. 2 1
      alien_store/Dockerfile

+ 2 - 1
alien_gateway/Dockerfile

@@ -12,7 +12,8 @@ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
 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
+  && poetry lock \
+  && poetry install --no-root --no-interaction --no-ansi
 
 COPY . .
 

+ 2 - 1
alien_store/Dockerfile

@@ -12,7 +12,8 @@ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
 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
+  && poetry lock \
+  && poetry install --no-root --no-interaction --no-ansi
 
 COPY . .