1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-05-28 06:00:48 +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