MedicalQA / Dockerfile
mwitiderrick's picture
Upload 5 files
9de97e7 verified
raw
history blame
504 Bytes
# Hugging Face Spaces Chainlit template
FROM python:3.11-slim
# Install system dependencies
RUN apt-get update && apt-get install -y \
git curl build-essential && \
rm -rf /var/lib/apt/lists/*
# Set working directory
WORKDIR /app
# Install Python deps
COPY requirements.txt .
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy source
COPY . .
# Expose Chainlit port
EXPOSE 7860
# Launch Chainlit app
CMD ["chainlit", "run", "app.py", "-h", "0.0.0.0", "--port", "7860"]