File size: 674 Bytes
e7850f4
 
 
 
 
 
 
0a8f41c
 
728ac62
 
e7850f4
 
 
 
 
 
85d8949
 
e7850f4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile

FROM python:3.10

WORKDIR /code

RUN wget https://huggingface.co/TheBloke/NeuralHermes-2.5-Mistral-7B-GGUF/resolve/main/neuralhermes-2.5-mistral-7b.Q5_K_M.gguf?download=true -O neuralhermes-2.5-mistral-7b.Q5_K_M.gguf

RUN wget https://huggingface.co/zhangtao103239/Qwen-1.8B-GGUF/resolve/main/qwen-1.8b-q5_k_m.gguf?download=true -O qwen-1.8b-q5_k_m.gguf

COPY ./requirements.txt /code/requirements.txt

RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY . .

ENV MPLCONFIGDIR /code/matplotlib/

CMD ["python", "app.py"]