Agentic-Support-Copilot / Dockerfile.backend
Vineetiitg
feat(backend): integrate Redis workers, persistent model caching, Cohere V2 fallback, and 5x TTFT fast-path RAG
d816f3a
Raw
History Blame Contribute Delete
461 Bytes
FROM python:3.11-slim
WORKDIR /app
RUN apt-get update && apt-get install -y gcc g++ \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN --mount=type=cache,target=/root/.cache/pip pip install --upgrade pip && pip install --default-timeout=1000 -r requirements.txt
COPY ./app /app/app
COPY ./tests /app/tests
COPY ./datasets /app/datasets
COPY ./data /app/data
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]