Spaces:
Runtime error
Runtime error
| # Use official Python image | |
| FROM python:3.9-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy files | |
| COPY app.py . | |
| COPY requirements.txt . | |
| COPY best_sales_forecasting_model.pkl . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Expose port for HF Spaces | |
| EXPOSE 7860 | |
| # Start the API | |
| CMD ["python", "app.py"] |