You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was generating a Dockerfile with the > Dockerfile command, and decided to leave the PORT section as an empty string, as I'm generating a base image that doesn't require exposing. This is what is generated
I know it's as easy as just deleting the last line, but I'm wondering if this is by design, or if someone doesn't specify a port, EXPOSE should not be generated.
The text was updated successfully, but these errors were encountered:
I was generating a Dockerfile with the
> Dockerfile
command, and decided to leave thePORT
section as an empty string, as I'm generating a base image that doesn't require exposing. This is what is generatedI know it's as easy as just deleting the last line, but I'm wondering if this is by design, or if someone doesn't specify a port, EXPOSE should not be generated.
The text was updated successfully, but these errors were encountered: