Skip to content

Instantly share code, notes, and snippets.

@fnogcps
Last active January 3, 2022 11:00
Show Gist options
  • Save fnogcps/d29407d99e1656c3561af18fe0443afe to your computer and use it in GitHub Desktop.
Save fnogcps/d29407d99e1656c3561af18fe0443afe to your computer and use it in GitHub Desktop.
# Build image
docker build -t <image-name> .
# Run image
docker run --name <container-name> -itd -p <port>:<port> <image-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment