File size: 262 Bytes
b814168
 
d09ff7a
bcf8373
 
 
 
0190a4f
37aca6e
bcf8373
 
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Start Nginx in the background
nginx &

echo "Starting the main application: python server.py"

sed -i 's/^\(\s*\)port = find_free_port()/\1port = 39775/' /app/server/server.py

# Execute the Python server command
exec python /app/server/server.py