Docker - Springboot JDK 17 ☕ ☕


ENVIRONMENT VARIABLES

JAR_FILENAME: Name of jar file on work directory LOGS_DIRECTORY: Directory for application logs (Default value)

EXAMPLE

docker run -dit -v "$pwd:/usr/share/application" -e JAR_FILENAME="example-application.jar" -p "80:80" --name "java-application" onkernelpanic/docker-springboot-jdk17