mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-01-14 21:54:22 -06:00
Add index-strategy flag
This commit is contained in:
@@ -203,6 +203,7 @@ RUN set -eux \
|
|||||||
&& uv export --quiet --no-dev --all-extras --format requirements-txt --output-file requirements.txt \
|
&& uv export --quiet --no-dev --all-extras --format requirements-txt --output-file requirements.txt \
|
||||||
&& if [ "${TARGETARCH}" = "amd64" ]; then \
|
&& if [ "${TARGETARCH}" = "amd64" ]; then \
|
||||||
uv pip install --no-cache --system --no-python-downloads --python-preference system \
|
uv pip install --no-cache --system --no-python-downloads --python-preference system \
|
||||||
|
--index-strategy unsafe-best-match \
|
||||||
-c /tmp/torch-cpu-constraints.txt \
|
-c /tmp/torch-cpu-constraints.txt \
|
||||||
--requirements requirements.txt ; \
|
--requirements requirements.txt ; \
|
||||||
else \
|
else \
|
||||||
|
|||||||
Reference in New Issue
Block a user