Skip to content

Dockerfile uses EXPOSE incorrectly #7

@erikcw

Description

@erikcw

The Dockerfile is using EXPOSE incorrectly. Currently it lists each port with both the container and host ports (expose 85:80 for example). It should really only list the ports that the container exposes.

Use docker run -p 85:80... to bind the container port to the host port.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions