Update app.py
Browse files
app.py
CHANGED
@@ -8,4 +8,4 @@ if __name__ == "__main__":
|
|
8 |
subprocess.Popen(["python", "wk.py"]) # Start awake.py
|
9 |
|
10 |
# Run the Flask app using Gunicorn
|
11 |
-
os.system("gunicorn -w 4 -b 0.0.0.0:
|
|
|
8 |
subprocess.Popen(["python", "wk.py"]) # Start awake.py
|
9 |
|
10 |
# Run the Flask app using Gunicorn
|
11 |
+
os.system("gunicorn -w 4 -b 0.0.0.0:5000 myapp:myapp") # 4 worker processes
|