MisterAI commited on
Commit
090a07e
·
verified ·
1 Parent(s): 308b8ad

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +10 -0
entrypoint.sh ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Lancer LocalAI sur le port 8080
4
+ /local-ai --address 0.0.0.0:8080 &
5
+
6
+ # Attendre LocalAI
7
+ sleep 5
8
+
9
+ # Lancer Nginx au premier plan
10
+ nginx -g "daemon off;"