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.
This could be the Dockerfile you need:
FROM python:alpine
RUN pip3 install \\
boto3 \\
flask \\
pytest \\
requests
COPY . /app
WORKDIR app
ENTRYPOINT \[ "flask" \]
CMD \[ "run", "--host", "0.0.0.0" \]
Taken from fly.io - deploying a Dockerfile to the cloud in seconds | Aaron Kelly’s Blog which has old fly
commands but the Dockerfile should still hold up
If anything happens let me know how I can help you! If possible post your fly.toml
too.