Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
docker-entrypoint.sh for *-island
#!/bin/bash
set -e
if [ "$1" = "--help" ]; then
echo "--help"
echo "--version"
exit
fi
if [ "$1" = "--version" ]; then
node ./ver.js
exit
fi
if [ "$1" = "island" ]; then
npm run start
fi
exec "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.