graphite_docker icon indicating copy to clipboard operation
graphite_docker copied to clipboard

Dockerfile uses EXPOSE incorrectly

Open erikcw opened this issue 10 years ago • 1 comments

The Dockerfile is using EXPOSE incorrectly. Currently it lists each port with both the container and host ports (expose 85:80 for example). It should really only list the ports that the container exposes.

Use docker run -p 85:80... to bind the container port to the host port.

erikcw avatar Jul 14 '15 22:07 erikcw

sure, send a PR through to clean it up, I personally only use -p anyway. I chucked the expose there to hopefully help others that orchestrate.

SamSaffron avatar Jul 15 '15 00:07 SamSaffron