...
Using the Gitbash terminal, navigate to
/c/work
Clone down the following projects
Start Docker
Open Windows' terminal in Admin mode (right-click on Windows Start, and select Terminal (Admin)
Navigate to
c:\work\vat_calculator_service
Enter the command
mvn package
, this will build the binary for the calculator service. A number of files will have been created in thetarget
folder. You will need the file calledvat_calculator_service-0.0.1-SNAPSHOT-spring-boot.jar
Navigate to
c:\work\react_app-vat_calculator
.Create a folder called
target
Copy the file
vat_calculator_service-0.0.1-SNAPSHOT-spring-boot.jar
into thetarget
folderRun the command
docker build --tag=vat_calculator_service:latest .
the full stop is important
Run the command
docker run -p 3000:3000 -p 8080:8080 --name vatc_fe --rm vat_calculator_service
this will create a single docker container containing the 3 applications that are all wired together
...