#!/bin/bash # Start Nginx in the background nginx & echo "Starting the main application: python server.py" sed -i '' '206s/.*/ port = 39775/' server.py # Execute the Python server command exec python /app/server/server.py