we are basing our image on a stripped java8 image. To build fee service as a docker container you will need to build java8 image first which is available in pbs project.
navigate to docker-images/java8-tiny
folder inside pbs repo, and run
make build-docker
To build the fee evidence service run the maven command below
mvn clean install
or make build-docker
As a result you will get spring boot jar along with the docker container tagged with the same version the spring boot artifact
to run the checkstyle
mvn checkstyle:checkstyle
to run docker container using command you can execute one line
docker run -d -p 8080:8080 acuma/fee-service:latest
deployment
directory contains set of compose files which will help running the service and wire to other docker containers.
Currently the composition happens between api and mongo
cd deployment/docker-compose
docker-compose up