Spaces:
Runtime error
Runtime error
Download Dockerfile from harikbab02/Superkart-Prediction-API2: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/harikbab02/Superkart-Prediction-API2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/harikbab02/Superkart-Prediction-API2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/harikbab02/Superkart-Prediction-API2/resolve/main/Dockerfile
355 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt | |
| COPY app.py /app/ | |
| COPY gradboost_RSCV.joblib /app/ | |
| COPY RndmFrstReg_RSCV.joblib /app/ | |
| COPY pipeline.joblib /app/ | |
| COPY feature_names.joblib /app/ | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "--bind", "0.0.0.0:7860", "app:app"] | |