Download Dockerfile from Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/resolve/main/Dockerfile
- Command line
-
hf download hf://Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/Gnaneshwari/IRIS-FLOWER-CLASSIFICATION-using-machine-learning-models/resolve/main/Dockerfile
271 Bytes
| # Use Python 3.10.14 as the base image | |
| FROM python:3.10.14 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"] |