|
|
@@ -27,6 +27,8 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|
|
|
|
|
COPY pyproject.toml ./
|
|
|
|
|
|
+RUN pip install --no-cache-dir --break-system-packages torch==2.8.0 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
+
|
|
|
RUN pip install --no-cache-dir --break-system-packages \
|
|
|
django==5.2.13 \
|
|
|
drf-spectacular==0.28.0 \
|
|
|
@@ -84,8 +86,6 @@ RUN pip install --no-cache-dir --break-system-packages \
|
|
|
jsonpath-ng==1.8.0 \
|
|
|
sentence-transformers==5.0.0
|
|
|
|
|
|
-RUN pip install --no-cache-dir --break-system-packages torch==2.8.0 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
-
|
|
|
COPY apps/ ./apps/
|
|
|
COPY main.py ./
|
|
|
|