|
|
@@ -29,11 +29,14 @@ RUN pip install --no-cache-dir --upgrade pip setuptools wheel
|
|
|
COPY pyproject.toml README.md ./
|
|
|
|
|
|
COPY apps/ ./apps/
|
|
|
+
|
|
|
COPY main.py ./
|
|
|
|
|
|
+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 .
|
|
|
|
|
|
-RUN pip install --no-cache-dir --break-system-packages torch==2.8.0 --index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
|
+
|
|
|
|
|
|
RUN mkdir -p /opt/maxkb-app/model/base /opt/maxkb-app/tmp /opt/maxkb-app/logs
|
|
|
|