Spaces:
Running
Running
Download Dockerfile from ShinjiAA/unidream-space: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/ShinjiAA/unidream-space/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ShinjiAA/unidream-space/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ShinjiAA/unidream-space/resolve/main/Dockerfile
276 Bytes
| FROM python:3.12-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| ENV UNIDREAM_DEVICE=cpu | |
| ENV UNIDREAM_BUNDLE_DIR=/app/bundles/current | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "backend.app:app", "--host", "0.0.0.0", "--port", "7860"] | |