1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-11-14 00:14:06 +00:00
plantuml-server/docker-entrypoint.jetty.sh
2023-01-26 10:29:03 +01:00

15 lines
318 B
Bash
Executable File

#!/bin/sh
# cspell:words mkdir
# cspell:enableCompoundWords
###########################################################
# ensure context path starts with a slash
export CONTEXT_PATH="/${BASE_URL#'/'}"
# base image entrypoint
if [ -x /docker-entrypoint.sh ]; then
/docker-entrypoint.sh "$@"
else
exec "$@"
fi