Download DockerFile from yoyoui/yoai: direct link, hf CLI and curl.
- Browser
- Download file 228 Bytes
-
https://huggingface.co/spaces/yoyoui/yoai/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/yoyoui/yoai/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/yoyoui/yoai/resolve/main/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"] |