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

View File

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