Graceful tomcat shutdown

pull/24/head
Andreas Watermeyer 2023-05-17 17:46:05 +02:00 committed by Jody Garnett
parent 236339ad82
commit 2d0483bee5
2 changed files with 2 additions and 2 deletions

View File

@ -125,6 +125,6 @@ RUN rm -rf /tmp/*
COPY *.sh /opt/ COPY *.sh /opt/
RUN chmod +x /opt/*.sh RUN chmod +x /opt/*.sh
ENTRYPOINT /opt/startup.sh ENTRYPOINT ["/opt/startup.sh"]
WORKDIR /opt WORKDIR /opt

View File

@ -79,4 +79,4 @@ if [ "${CORS_ENABLED}" = "true" ]; then
fi fi
# start the tomcat # start the tomcat
$CATALINA_HOME/bin/catalina.sh run exec $CATALINA_HOME/bin/catalina.sh run