This is a buildpack for WAR file.
If the WAR_PATH
environment variable is set, this buildpack checks if a .war
file exists where WAR_PATH
points. If the file does actually exist, it is
used and served as the application. Otherwise, the buildpack fails.
If WAR_PATH
is not set, the buildpack falls back to checking if a .war file
exists somewhere and uses the first one, if any.
During the BUILD
phase, this buildpack:
- Downloads and installs the Java Runtime Environment.
- Downloads and installs a webapp-runner.
- Validates the build.
🎉 This process results into a scalable image, ready to be packaged into a container.
The following environment variables are available for you to tweak your deployment:
Version of the Java Runtime Environment to deploy.
Defaults to 1.8
Version of the webapp-runner (Tomcat) to install and use.
Defaults to 9.0.84.0
Deprecated, please use JAVA_WEBAPP_RUNNER_VERSION
.
Path to the .war file you want to run.
Defaults to being unset