Hodely commited on
Commit
811d0cb
verified
1 Parent(s): c4e267f

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +8 -0
entrypoint.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Instalar gunicorn si no est谩 ya en requirements.txt
4
+ # Aunque ya lo hemos a帽adido, no est谩 de m谩s un 'pip install' expl铆cito aqu铆
5
+ pip install gunicorn
6
+
7
+ # Ejecutar la aplicaci贸n Flask con gunicorn
8
+ exec gunicorn --bind 0.0.0.0:7860 app:app