Spaces:
Sleeping
Sleeping
Download Dockerfile from ULB-AcademIA/Open-WebUI: direct link, hf CLI and curl.
- Browser
- Download file 374 Bytes
-
https://huggingface.co/spaces/ULB-AcademIA/Open-WebUI/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ULB-AcademIA/Open-WebUI/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ULB-AcademIA/Open-WebUI/resolve/main/Dockerfile
374 Bytes
| # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker | |
| # you will also find guides on how best to write your Dockerfile | |
| FROM python:3.11 | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| WORKDIR /app | |
| RUN curl -LsSf https://astral.sh/uv/install.sh | sh | |
| RUN pip install open-webui | |
| CMD ["/home/user/.local/bin/open-webui", "serve"] | |