File size: 456 Bytes
8d7f4df 1c11206 01781b6 4cbbf07 01781b6 8b41425 8d7f4df 0660491 1c11206 |
1 2 3 4 5 6 7 8 9 10 11 |
#!/bin/bash
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
code-server -h
sed -i '/password/d' /home/user/.config/code-server/config.yaml
echo "password: ${JUPYTER_TOKEN}" >>/home/user/.config/code-server/config.yaml
cat /home/user/.config/code-server/config.yaml
echo "kill -SIGTERM 1" >/data/stop.sh
NOTEBOOK_DIR="/data"
python /home/user/app/main.py
code-server --proxy-domain atonyxu-code.hf.space --bind-addr 0.0.0.0:8080 /data >/data/start.log 2>&1 &
|