|
@@ -12,7 +12,7 @@ RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple \
|
|
|
COPY pyproject.toml poetry.lock ./
|
|
COPY pyproject.toml poetry.lock ./
|
|
|
|
|
|
|
|
RUN poetry source add --priority=primary tsinghua https://pypi.tuna.tsinghua.edu.cn/simple || true \
|
|
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 . .
|
|
COPY . .
|
|
|
|
|
|