Spaces:
Paused
Paused
Download entrypoint.sh from minhvh/cloudbrowser: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/minhvh/cloudbrowser/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/minhvh/cloudbrowser/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/minhvh/cloudbrowser/resolve/main/entrypoint.sh
480 Bytes
| # check browser | |
| # In thông tin người dùng và hệ thống | |
| echo "Current user: $(whoami)" | |
| echo "Node version: $(node --version)" | |
| echo "Starting Cloud Browser Service..." | |
| cd /app | |
| # Kiểm tra thư mục hiện tại và tệp tin | |
| echo "Current directory: $(pwd)" | |
| echo "Files in directory: $(ls -la)" | |
| # Khởi động server Node.js | |
| echo "Starting Node.js server..." | |
| # /usr/sbin/nginx -c /etc/nginx/nginx.conf | |
| node src/server.mjs & | |
| nginx -g 'daemon off;' | |