Spaces:
Sleeping
Sleeping
Download Dockerfile from coder160/blogger_api: direct link, hf CLI and curl.
- Browser
- Download file 350 Bytes
-
https://huggingface.co/spaces/coder160/blogger_api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/coder160/blogger_api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/coder160/blogger_api/resolve/main/Dockerfile
350 Bytes
| FROM python:3.9 | |
| WORKDIR /server | |
| COPY ./requirements.txt /server/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /server/requirements.txt | |
| RUN --mount=type=secret,id=XPKAK,mode=0444 | |
| RUN --mount=type=secret,id=XPKBP,mode=0444 | |
| COPY ./api_files /server/api_files | |
| CMD ["uvicorn", "api_files.main:api_fn", "--host", "0.0.0.0", "--port", "7860"] |