it-at-m / digiwf-email-integration

DigiWF integration starter for email handling
MIT License
1 stars 0 forks source link

Adapt Dockerfile to use JAVA_OPTIONS #14

Closed boal closed 2 years ago

boal commented 2 years ago

Describe the bug Currently no JAVA_OPTIONS are used during startup.

Adapt Dockerfile like the following one.

FROM registry.access.redhat.com/ubi8/openjdk-11:latest

EXPOSE 8080

COPY target/*.jar /deployments/spring-boot-application.jar

CMD "java" ${JAVA_OPTIONS} "-jar" "/deployments/spring-boot-application.jar"