Dockerfileis implemented using MultiStage build:
FROM maven:alpine. The single responsibility of this stage is to install dependencies (caching layers) and generate the jar.
FROM openjdk:alpineand works executing the jar generated by build stage. It will
EXPOSEthe external ports to the host.
example-manifest.ymlto your project and rename it to
manifest.yml. Open the manifest file and edit the three configurable variables:
manifest.yml, push your project:
This command by default checks whether a
manifest.ymlexists in the directory, and if so, uses it to push to the platform.