multimodalart HF Staff commited on
Commit
d09ff7a
·
verified ·
1 Parent(s): e242bbe

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -3
start.sh CHANGED
@@ -1,7 +1,10 @@
1
  #!/bin/bash
2
 
3
- # Start Nginx
4
- sudo nginx
 
 
 
5
 
6
  # Execute the default CMD specified in the Dockerfile or passed via the docker run command
7
- exec "$@"
 
1
  #!/bin/bash
2
 
3
+ # Start Nginx in the background
4
+ sudo nginx &
5
+
6
+ # Print the command and arguments for debugging
7
+ echo "Starting the main application with command: $@"
8
 
9
  # Execute the default CMD specified in the Dockerfile or passed via the docker run command
10
+ exec "$@"