I have a Docker image webshop (containing a Python Flask web application) that only runs when executed with the additional option:
docker run -p 80:80 webshop
-p 80:80 maps port 80 in the host to port 80 inside the docker container. Without this mapping, the image doesn't execute correctly.
Is there a way to specify this mapping inside the Dockerfile, so I don't need to include this additional option every time I try to run the image? In particular, I want others to be able to execute this image without additional commands.