Spaces:
Sleeping
Sleeping
# 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"] |