A docker container running flask python environment shows a good RESTful API example
Build the image using command: docker build -t flaskapp .
Run the Docker container using the command: docker run -d -p 5000:5000 flaskapp
We have used 5000 as Python works on this default port.
Video link: https://www.youtube.com/watch?v=0EVapl-W080