Create entrypoint.sh
Browse files- entrypoint.sh +7 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Start the 3x-ui panel binary in the background
|
| 4 |
+
/usr/local/x-ui/x-ui &
|
| 5 |
+
|
| 6 |
+
# Start Nginx in the foreground to keep the Hugging Face container alive
|
| 7 |
+
nginx -g "daemon off;"
|