Skip to content

Instantly share code, notes, and snippets.

@betawax
Last active December 19, 2022 09:59
Show Gist options
  • Save betawax/833121846f2a83b473ed5a56d154ebc0 to your computer and use it in GitHub Desktop.
Save betawax/833121846f2a83b473ed5a56d154ebc0 to your computer and use it in GitHub Desktop.
Docker
docker build -t <image> .
docker run -d -it -v (pwd):/var/www -p 3000:3000 --name <service> <image>
docker system prune --all --force --volumes
docker compose up -d --no-deps --force-recreate --build <service>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment