Download entrypoint.sh from asons/code: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/spaces/asons/code/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/asons/code/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/asons/code/resolve/main/entrypoint.sh
211 Bytes
| # 激活 NVM 环境变量 | |
| export NVM_DIR="/root/.nvm" | |
| [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
| # 启动 IDE | |
| exec code-server --bind-addr 0.0.0.0:7860 --auth password --disable-telemetry /root |