Open Redorhcs opened 2 years ago
Branch tree-docker is tracking these changes. I've got the file building (had to add in a COPY
command for the pip requirements) but can't hit the webserver just yet. Will investigate
We're learning more about this every day :) - got a build going with a different error meaning the app isn't launching right. is FLASK_APP FLASK_ENV flask run
required to get the app launching, or is there a different build command?
The full command is FLASK_APP=app.py FLASK_ENV=development flask run
. In production, we use gunicorn app:app
to run the server (see Procfile)
From commit 21db6036cda1579dd894543278c3daf3fc25b378