Download Dockerfile from xdxb/openwebui: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/spaces/xdxb/openwebui/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/xdxb/openwebui/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/xdxb/openwebui/resolve/main/Dockerfile
335 Bytes
| FROM ghcr.io/open-webui/open-webui:main | |
| RUN apt-get update && apt-get install -y python3 python3-pip | |
| RUN pip3 install --no-cache-dir huggingface_hub | |
| COPY sync_data.sh sync_data.sh | |
| RUN chmod -R 777 ./data && \ | |
| chmod -R 777 /app/backend/open_webui/static && \ | |
| chmod +x sync_data.sh && \ | |
| sed -i "1r sync_data.sh" ./start.sh |