Skip to content

Instantly share code, notes, and snippets.

@sephraim
Last active March 18, 2025 21:07
Show Gist options
  • Save sephraim/ea1181646c27240d957bd76f949613c4 to your computer and use it in GitHub Desktop.
Save sephraim/ea1181646c27240d957bd76f949613c4 to your computer and use it in GitHub Desktop.
[Run your app in Docker without docker-compose] ssh into your app's bash terminal
NAME=my-app-name && docker build -t $NAME -f .devcontainer/docker/Dockerfile . && docker run -it --rm $NAME bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment