File size: 411 Bytes
5e63c7a
 
 
 
3c60b1d
5e63c7a
 
 
 
490160e
5e63c7a
d667031
 
5e63c7a
 
4ff1316
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM python:3.9

WORKDIR /code


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

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

COPY ./Meta-Llama-3-8B-Instruct.Q4_K_M.gguf /code/Meta-Llama-3-8B-Instruct.Q4_K_M.gguf

COPY ./Llama-3.2-3B-Instruct-Q8_0.gguf /code/Llama-3.2-3B-Instruct-Q8_0.gguf

COPY ./main.py /code/main.py

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]