Graceful tomcat shutdown

pull/22/head
Andreas Watermeyer 2023-05-17 17:46:05 +02:00
parent 9158bc61c7
commit 8c18294d6c
2 changed files with 2 additions and 2 deletions

View File

@ -89,6 +89,6 @@ RUN apt purge -y && \
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