Spaces:
Configuration error
Configuration error
Download Dockerfile from Bakalo/Sales_forecasting_api: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/Bakalo/Sales_forecasting_api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Bakalo/Sales_forecasting_api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Bakalo/Sales_forecasting_api/resolve/main/Dockerfile
320 Bytes
| #Base image | |
| FROM python:3.11 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY . . # Copies contents of the uploaded folder (backend_files) to /app | |
| EXPOSE 7860 | |
| CMD ["python", "-m", "gunicorn", "--bind", "0.0.0.0:7860", "app:Sales_forecasting_api"] # Corrected: app.py is now directly in /app | |