Spaces:
Paused
Paused
Update entrypoint.sh
Browse files- entrypoint.sh +7 -0
entrypoint.sh
CHANGED
|
@@ -4,6 +4,13 @@ mkdir -p ~/.nanobot
|
|
| 4 |
mkdir -p ~/.nanabot/workspace
|
| 5 |
echo $PATH
|
| 6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
# 直接写入配置(对接你本地的 PowerServe 或 Ollama API)
|
| 8 |
cat <<EOF > ~/.nanobot/config.json
|
| 9 |
{
|
|
|
|
| 4 |
mkdir -p ~/.nanabot/workspace
|
| 5 |
echo $PATH
|
| 6 |
|
| 7 |
+
cat <<EOF >> /etc/resolv.conf
|
| 8 |
+
nameserver 1.1.1.1
|
| 9 |
+
nameserver 8.8.8.8
|
| 10 |
+
nameserver 2606:4700:4700::1111
|
| 11 |
+
nameserver 2606:4700:4700::1001
|
| 12 |
+
EOF
|
| 13 |
+
|
| 14 |
# 直接写入配置(对接你本地的 PowerServe 或 Ollama API)
|
| 15 |
cat <<EOF > ~/.nanobot/config.json
|
| 16 |
{
|