17 lines
372 B
Makefile
17 lines
372 B
Makefile
|
.PHONY: build
|
||
|
|
||
|
build:
|
||
|
./mvnw compile
|
||
|
|
||
|
run:
|
||
|
./mvnw spring-boot:run
|
||
|
|
||
|
debug:
|
||
|
./mvnw spring-boot:run -Dspring-boot.run.jvmArguments="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"
|
||
|
|
||
|
docker-build:
|
||
|
./mvnw compile com.google.cloud.tools:jib-maven-plugin:2.5.2:build
|
||
|
|
||
|
docker-run:
|
||
|
docker run --rm -d -p 8080:8080 docker.registry:5000/wikiproject:latest
|