Spaces:
Runtime error
Runtime error
Download Dockerfile from ShrirajSK/Trained_predictive_ML_API: direct link, hf CLI and curl.
- Browser
- Download file 282 Bytes
-
https://huggingface.co/spaces/ShrirajSK/Trained_predictive_ML_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ShrirajSK/Trained_predictive_ML_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ShrirajSK/Trained_predictive_ML_API/resolve/main/Dockerfile
282 Bytes
| FROM python:3.9 | |
| RUN pip install joblib | |
| RUN pip install python-multipart | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |