gradio-app / Dockerfile
omarcevi's picture
Upload folder using huggingface_hub
24d09a0 verified
raw
history blame contribute delete
427 Bytes
# Use official Python image
FROM python:3.10-slim
# Set working directory
WORKDIR /app
# Copy requirements and source code
COPY requirements.txt ./
COPY gradio_app.py ./
COPY churn_model.pkl ./
COPY model_features.pkl ./
COPY Telco-Customer-Churn.csv ./
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose Gradio default port
EXPOSE 7860
# Run the Gradio app
CMD ["python", "gradio_app.py"]