llm-mdcl-backend / Dockerfile
kjdeka's picture
Upload folder using huggingface_hub
31c5537 verified
raw
history blame contribute delete
372 Bytes
# Use Python 3.10 base image
FROM python:3.10
# Set working directory
WORKDIR /app
# Copy all files into the container
COPY . .
# Install dependencies from requirements.txt
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Expose backend port
EXPOSE 7860
# Run the Flask app directly (safe for Hugging Face Spaces)
CMD ["python", "app.py"]