#!/bin/bash # Copied the entrypoint and slightly altered, from parkervcp's dart yolk. cd /home/container # Replace startup variables MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g') echo ":/home/container$ ${MODIFIED_STARTUP}" # Run the server eval ${MODIFIED_STARTUP}