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
|