diff --git a/installer/Dockerfile b/installer/Dockerfile index a853606ab..4c8edb89a 100644 --- a/installer/Dockerfile +++ b/installer/Dockerfile @@ -15,6 +15,7 @@ COPY installer/shells /shells COPY installer/conf /installer/conf COPY installer/mcp /app/mcp +ENV JAVA_CLASSPATH=/app:/app/lib/* ENV JAVA_OPTIONS="-Dfile.encoding=utf-8 -Djava.awt.headless=true --add-opens java.base/jdk.internal.loader=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED" ARG CRM_VERSION=main diff --git a/installer/shells/start-cordys.sh b/installer/shells/start-cordys.sh index 063996659..c4b713301 100644 --- a/installer/shells/start-cordys.sh +++ b/installer/shells/start-cordys.sh @@ -2,6 +2,7 @@ bash /shells/init-directories.sh +export JAVA_CLASSPATH=/app:/app/lib/* export CRM_VERSION=`cat /tmp/CRM_VERSION` exec java ${JAVA_OPTIONS} -jar /app/cordys-crm.jar \ No newline at end of file