How can I access my Flask API within a docker container?

Solution
#             host port (your choice)
#                vvvv
docker run -d -p 5001:5000 nea-api
#                     ^^^^
#               container port (matches server process's port)