[Enhancement]: Allow withExposedPorts to be called multiple times and append ports (original) (raw)

Module

Core

Proposal

Currently the withExposedPorts method on the GenericContainer always overrides the exposedPorts list. It would be very nice if it would just append Ports if its called multiple times.

If you agree, i can create a PR.