From d5c718ef44cebc940306bbdbe7eccb83fd617d03 Mon Sep 17 00:00:00 2001 From: thmsdy Date: Fri, 18 Dec 2020 12:21:58 -0600 Subject: [PATCH] add 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..c5be2dc --- /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} \ No newline at end of file