Download Dockerfile from ivilson/README: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/ivilson/README/resolve/3f0215c487380c6c4ef95a87599070e5eec70d05/Dockerfile
- Command line
-
hf download hf://spaces/ivilson/README@3f0215c487380c6c4ef95a87599070e5eec70d05/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ivilson/README/resolve/3f0215c487380c6c4ef95a87599070e5eec70d05/Dockerfile
228 Bytes
| FROM python:3.9 | |
| 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"] |