codellama_deploy / Dockerfile
hArshi07's picture
Absolute Path added for model
4e74c46
raw
history blame
384 Bytes
FROM python:3.10
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY C:/Users/harsh/OneDrive/Desktop/Code_llama/codellama_deploy/codellama-7b-instruct.q4_K_M.gguf /code/codellama-7b-instruct.q4_K_M.gguf
COPY ./main.py /code/main.py
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]