mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 09:43:10 +00:00
10 lines
304 B
Plaintext
10 lines
304 B
Plaintext
FROM python:3.11-slim-bookworm as vector-model
|
|
|
|
COPY installer/install_model.py install_model.py
|
|
RUN pip3 install --upgrade pip setuptools && \
|
|
pip install pycrawlers && \
|
|
pip install transformers && \
|
|
python3 install_model.py
|
|
|
|
FROM scratch
|
|
COPY --from=vector-model model /opt/maxkb/app/model |