Spaces:
Sleeping
Sleeping
Download Dockerfile from Shadowdzne/Noir_API: direct link, hf CLI and curl.
- Browser
- Download file 256 Bytes
-
https://huggingface.co/spaces/Shadowdzne/Noir_API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Shadowdzne/Noir_API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Shadowdzne/Noir_API/resolve/main/Dockerfile
256 Bytes
| FROM python:3.10.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN pip install -U g4f[all] | |
| COPY . . | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] |