|
|
|
@ -6,5 +6,8 @@ cron
|
|
|
|
# Start het Python-script currentprice.py
|
|
|
|
# Start het Python-script currentprice.py
|
|
|
|
python /app/ppo_insight.py &
|
|
|
|
python /app/ppo_insight.py &
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Start de Flask-app met Gunicorn (betere productie-optie)
|
|
|
|
|
|
|
|
gunicorn --bind 0.0.0.0:5000 ppo_insight:app --workers 4 &
|
|
|
|
|
|
|
|
|
|
|
|
# Wacht voor altijd zodat de container draaiende blijft
|
|
|
|
# Wacht voor altijd zodat de container draaiende blijft
|
|
|
|
tail -f /dev/null
|
|
|
|
tail -f /dev/null
|
|
|
|
|