Graceful tomcat shutdown
parent
236339ad82
commit
2d0483bee5
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue