This application is part of the Polar Bookshop system and provides the frontend functionality. It's part of the project built in the Cloud Native Spring in Action book by Thomas Vitale.
Run the following command to build the project.
./gradlew buildAngular
Then, package it in an NGINX container using the pack CLI and the Paketo Buildpacks.
pack build polar-ui \
--buildpack gcr.io/paketo-buildpacks/nginx \
--builder paketobuildpacks/builder:base \
-p dist
Finally, you can run the container as follows.
docker run -d --name polar-ui --publish 9004:9004 --env PORT=9004 polar-ui