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