|
|
@@ -10,7 +10,9 @@ 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 install --no-root --no-interaction --no-ansi
|
|
|
+
|
|
|
+RUN poetry source add --priority=primary tsinghua https://pypi.tuna.tsinghua.edu.cn/simple || true \
|
|
|
+ && poetry install --no-root --no-interaction --no-ansi
|
|
|
|
|
|
COPY . .
|
|
|
|