Graceful tomcat shutdown
parent
9158bc61c7
commit
8c18294d6c
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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