DEV Community

Muthu
Muthu

Posted on

4 2

Run Flask app as 0.0.0.0

To access the Flask app from docker container

Step #1
export FLASK_APP=execute.py

Step #2
echo $FLASK_APP

Step #3
flask run --host=0.0.0.0

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay