Spaces:
Sleeping
Sleeping
Download Dockerfile from sunyoung00/SPAO: direct link, hf CLI and curl.
- Browser
- Download file 302 Bytes
-
https://huggingface.co/spaces/sunyoung00/SPAO/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sunyoung00/SPAO/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sunyoung00/SPAO/resolve/main/Dockerfile
302 Bytes
| FROM python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 | |
| RUN useradd -m -u 1000 user | |
| WORKDIR /app | |
| COPY --chown=user requirements.txt . | |
| RUN pip install -r requirements.txt | |
| COPY --chown=user . . | |
| USER user | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |