Skip to content

Instantly share code, notes, and snippets.

@luxvex luxvex/reload.mk
Created Dec 18, 2019

Embed
What would you like to do?
./path/to/my/Project/myFile.jar:
javac myFile.java
./docker-image/myFile.jar: ./path/to/my/Project/myFile.jar
cp ./path/to/my/Project/MyFile.jar ./docker-image/myFile.jar
.PHONY: build-docker-image
build-docker-image: ./docker-image/myFile.jar
docker build .
.PHONY: reload
reload: build-docker-image .
docker-compose down -p “my service name”
docker-compose up -p “my service name”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.