Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Latest commit

 

History

History
59 lines (46 loc) · 1.18 KB

README.md

File metadata and controls

59 lines (46 loc) · 1.18 KB

Build, test and execute the jar

Build

mvn clean compile -DskipTests

Build with test

mvn clean compile

Execute

java -jar target/fusiongatewayapp-1.0.0-SNAPSHOT.jar

Build and execute the docker image

The application uses the Jib base image.

Build docker image to docker daemon

mvn install
# or specifically
mvn compile jib:dockerBuild

Build a docker image tarball

mvn compile jib:buildTar

The file can then be found in target/jib-image.tar

Execute the docker image from the docker daemon

docker run -it fusiongatewayapp

or in windows

docker run -p 8080:8080 -it fusiongatewayapp