Only create blank config if it doesn't exist

This commit is contained in:
Ajay Ramachandran 2022-11-01 14:21:33 -04:00 committed by GitHub
parent 5139c7aaf0
commit eee44e611b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ echo 'Entrypoint script'
cd /usr/src/app
# blank config, use defaults
cat <<EOF > config.json
test -e config.json || cat <<EOF > config.json
{
}
EOF