add entrypoint.sh

This commit is contained in:
Ghoti 2020-12-18 12:21:58 -06:00
parent fd2f92c4ce
commit d5c718ef44
1 changed files with 9 additions and 0 deletions

9
entrypoint.sh Normal file
View File

@ -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}