Spaces:
Running
Running
johnpaulbin
commited on
Commit
•
6ce66dc
1
Parent(s):
f2c9d17
Create entrypoint.sh
Browse files- entrypoint.sh +11 -0
entrypoint.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Starting server
|
4 |
+
echo "Starting server"
|
5 |
+
ollama serve &
|
6 |
+
sleep 1
|
7 |
+
|
8 |
+
ollama create translator -f Modelfile
|
9 |
+
|
10 |
+
# Keep the script running to prevent the container from exiting
|
11 |
+
wait
|