capture ports to expose from dockerfile