Skip to content

Commit

Permalink
Only create blank config if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy authored Nov 1, 2022
1 parent 5139c7a commit eee44e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ echo 'Entrypoint script'
cd /usr/src/app

# blank config, use defaults
cat <<EOF > config.json
test -e config.json || cat <<EOF > config.json
{
}
EOF

node dist/src/index.js
node dist/src/index.js

0 comments on commit eee44e6

Please sign in to comment.