MindBot-v0 / Dockerfile
Chirag20's picture
added knowledge
edabb92
raw
history blame contribute delete
397 Bytes
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies (needed for pdf/lxml etc.)
RUN apt-get update && apt-get install -y \
build-essential \
libxml2-dev \
libxslt1-dev \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]