Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
docker entrypoint: Exit on error
Browse files Browse the repository at this point in the history
  • Loading branch information
biinari committed Oct 6, 2021
1 parent 8c368af commit f98d044
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

get_data() {
python -c "import json; import sys; print(json.load(sys.stdin)['data']['$1'])"
}
Expand Down

0 comments on commit f98d044

Please sign in to comment.