Spaces:
Runtime error
Runtime error
Download Dockerfile from deva8217/superkart-sales-api: direct link, hf CLI and curl.
- Browser
- Download file 336 Bytes
-
https://huggingface.co/spaces/deva8217/superkart-sales-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/deva8217/superkart-sales-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/deva8217/superkart-sales-api/resolve/main/Dockerfile
336 Bytes
| # 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"] |