Download Dockerfile from zx2323/webx: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/zx2323/webx/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/zx2323/webx/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/zx2323/webx/resolve/main/Dockerfile
361 Bytes
| FROM ghcr.io/open-webui/open-webui:dev | |
| # 安装必要的工具包 | |
| RUN apt-get update && \ | |
| apt-get install -y \ | |
| xmlstarlet \ | |
| sqlite3 \ | |
| && apt-get clean \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # 复制同步脚本 | |
| COPY sync_data.sh sync_data.sh | |
| # 设置权限并修改启动脚本 | |
| RUN chmod -R 777 ./data && \ | |
| sed -i "1r sync_data.sh" ./start.sh |