1
0
mirror of https://github.com/octoleo/plantuml-server.git synced 2024-12-22 08:48:54 +00:00
plantuml-server/docker-entrypoint.jetty.sh

15 lines
318 B
Bash
Raw Normal View History

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