Skip to content

Instantly share code, notes, and snippets.

@cemdrk
Created January 1, 2023 07:53
Show Gist options
  • Save cemdrk/df960a160aa34f4fae3129a4be0bb72f to your computer and use it in GitHub Desktop.
Save cemdrk/df960a160aa34f4fae3129a4be0bb72f to your computer and use it in GitHub Desktop.
Makefile Docker Compose Template
.PHONY: down up build shell
down:
docker-compose down --remove-orphans -v --rmi local
build:
docker-compose build --no-cache
up: down build
docker-compose up
shell:
docker-compose exec app bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment