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"]