Add -p option to publish ports

Adds the -p option to expose ports, rather than just exposing the first port
at an arbitrary port (5555).