feat: support deep base URLs
This commit is contained in:
committed by
PlantUML
parent
6d90304fd7
commit
afd8bbcceb
14
docker-entrypoint.jetty.sh
Executable file
14
docker-entrypoint.jetty.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user