mirror of
https://github.com/octoleo/plantuml-server.git
synced 2024-12-22 00:38:54 +00:00
15 lines
318 B
Bash
Executable File
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
|