SponsorBlockServer/entrypoint.sh

13 lines
167 B
Bash
Raw Normal View History

#!/bin/sh
2020-07-05 05:37:57 +02:00
set -e
2020-07-05 10:25:57 +02:00
echo 'Entrypoint script'
cd /usr/src/app
# blank config, use defaults
test -e config.json || cat <<EOF > config.json
2020-07-05 10:25:57 +02:00
{
}
EOF
node dist/src/index.js