Download docker-entrypoint.sh from Mythus/webdav: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/Mythus/webdav/resolve/main/docker-entrypoint.sh
- Command line
-
hf download hf://spaces/Mythus/webdav/docker-entrypoint.sh
-
curl -L -o docker-entrypoint.sh https://huggingface.co/spaces/Mythus/webdav/resolve/main/docker-entrypoint.sh
450 Bytes
| mkdir -p $HOME/.config/rclone | |
| mkdir -p $HOME/rclone/cache | |
| if [ "$RCLONE_CONFIG_BASE64" != "" ]; then | |
| echo "[INFO] Config Rclone from RCLONE_CONFIG_BASE64 env" | |
| echo $RCLONE_CONFIG_BASE64 | base64 -d > $HOME/.config/rclone/rclone.conf | |
| echo "[INFO] Config Rclone from RCLONE_CONFIG_BASE64 completed" | |
| fi | |
| rclone serve webdav --vfs-cache-mode writes --addr :7860 --cache-dir $HOME/rclone/cache --user "$USER" --pass "$PASS" td_hf: |