Spaces:
Runtime error
Runtime error
File size: 453 Bytes
b776889 147a7b1 b776889 4d90ad4 b776889 |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
FROM python:3.9
WORKDIR /code
USER root
COPY ./requirements.txt /code/requirements.txt
RUN wget -O llama-2-7b-chat.Q4_K_S.gguf https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/resolve/main/llama-2-7b-chat.Q4_K_S.gguf?download=true \
&& mv llama-2-7b-chat.Q4_K_S.gguf llama-2-7b-chat.Q3_K_S.gguf
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|