ports property
List of ports to expose from the container.
Only a single port can be specified. The specified ports must be listening on all interfaces (0.0.0.0) within the container to be accessible. If omitted, a port number will be chosen and passed to the container through the PORT environment variable for the container to listen on.
Implementation
core.List<ContainerPort>? ports;