Add the Dockerfile and Makefile to run the server.

This commit is contained in:
2023-11-26 14:09:51 +02:00
parent 4dc120bce8
commit 22e1506024
2 changed files with 27 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
default: war build_image show
war:
./mvnw clean install -DskipTests=true
test:
./mvnw clean test
build_image:
podman build -t spring-rest-example .
show:
podman run -p 8080:8080 spring-rest-example