RAG-API / Dockerfile
Amna2024's picture
Create Dockerfile
fb9fc1b verified
raw
history blame contribute delete
283 Bytes
FROM python:3.10
WORKDIR /app
COPY . /app/
RUN mkdir -p /app/chromadb && chmod -R 777 /app/chromadb
# RUN chmod 777 /app/chromadb/chroma.sqlite3
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]