Create entrypoint.sh
Browse files- entrypoint.sh +10 -0
entrypoint.sh
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Starting server
|
4 |
+
echo "Starting server"
|
5 |
+
echo "Running" $MODEL_URL
|
6 |
+
|
7 |
+
./llama-server --model-url $MODEL_URL -c 4096 --port 7860 --host 0.0.0.0
|
8 |
+
|
9 |
+
# Keep the script running to prevent the container from exiting
|
10 |
+
wait
|