Created
January 1, 2023 07:53
-
-
Save cemdrk/df960a160aa34f4fae3129a4be0bb72f to your computer and use it in GitHub Desktop.
Makefile Docker Compose Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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