1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2025-02-03 19:18:25 +00:00
plantuml-server/docker-entrypoint.jetty.sh

15 lines
318 B
Bash
Raw Normal View History

2021-10-11 17:33:30 +02:00
#!/bin/sh
# cspell:words mkdir
# cspell:enableCompoundWords
###########################################################
2023-01-25 16:35:10 +01:00
# ensure context path starts with a slash
export CONTEXT_PATH="/${BASE_URL#'/'}"
2021-10-11 17:33:30 +02:00
# base image entrypoint
if [ -x /docker-entrypoint.sh ]; then
/docker-entrypoint.sh "$@"
else
exec "$@"
fi