thananchayan's picture
feat-backend for qa bot
ffef48f
Raw
History Blame Contribute Delete
318 Bytes
FROM python:3.11-slim
WORKDIR /app
# Copy requirements first
COPY requirements.txt .
# Upgrade pip
RUN pip install --upgrade pip
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy project files
COPY . .
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]