fly launch thinks I’m using a Django app, but I’m not.
I have an app.py that only imports flask, and some stdlib stuff. I have a requirements.txt that only contains gunicorn and Flask.
I have two other directories called mock_data and results but neither of them contain .py files.
Any sense of what’s causing the flyctl launch autodetection to do this incorrectly? Any way I can still get all the conveniences of autodetection, but by manually specifying I want to use flask or such?
Sorry for this not-so-great first experience, indeed ou CLI is not properly detecting that this is not a Django app so that’s one thing we need to look into.
In the meantime, I’d suggest you change the Dockerfile to suit your needs. A proper Dockerfile for Flask might make your deployments go faster.
Thanks - got it working!
Would also be very cool if this gets fixes, flask is the main framework I use for tiny apps and the promise of a one command, no config-fiddling deploy is very appealing