From 41e1ec8d2faa4166690f021597b730b85af3c2f9 Mon Sep 17 00:00:00 2001 From: Jake Moore <38172916+Jake-Moore@users.noreply.github.com> Date: Tue, 17 Oct 2023 18:10:19 -0700 Subject: [PATCH] Create entrypoint.sh --- entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..865fc93 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,9 @@ +#!/bin/bash +cd /home/container + +# Replace Startup Variables +MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')` +echo ":/home/container$ ${MODIFIED_STARTUP}" + +# Run the Server +${MODIFIED_STARTUP}