Spaces:
Sleeping
Sleeping
Download Dockerfile from NetPanResourceShare/simple-admin: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/spaces/NetPanResourceShare/simple-admin/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/NetPanResourceShare/simple-admin/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/NetPanResourceShare/simple-admin/resolve/main/Dockerfile
340 Bytes
| FROM python:3.9 | |
| RUN apt update -y && apt install -y git | |
| WORKDIR /code | |
| RUN git clone https://gitee.com/net-pan-resource-share/simple-admin.git | |
| RUN pip install --no-cache-dir --upgrade -r /code/simple-admin/requirements.txt | |
| WORKDIR /code/simple-admin | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "10"] |