Spaces:
Sleeping
Sleeping
File size: 534 Bytes
5fd37fc cf18d09 ed6e9f4 cf18d09 442880a cf18d09 ed6e9f4 cf18d09 ed6e9f4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
FROM python:3.11
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./zephyr-7b-beta.Q4_K_S.gguf /code/zephyr-7b-beta.Q4_K_S.gguf
COPY ./nomic-embed-text-v1.5.Q4_K_S.gguf /code/nomic-embed-text-v1.5.Q4_K_S.gguf
COPY ./data /code/data
COPY ./chroma_db /code/chroma_db
COPY ./titleGenerator.py /code/titleGenerator.py
COPY ./run.py /code/run.py
COPY ./server.py /code/server.py
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] |