From d9ac4a458c3d82a7add7dbc160936affbfe41a31 Mon Sep 17 00:00:00 2001 From: John Ahlroos Date: Sat, 2 May 2026 16:18:31 +0200 Subject: [PATCH] Fix docker container startup script --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4f2b3a5..49774c5 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,8 @@ #!/usr/bin/env sh +set -e STREAMLIT_SECRETS_LOCATION=".streamlit/secrets.toml" -touch STREAMLIT_SECRETS_LOCATION +touch $STREAMLIT_SECRETS_LOCATION SQLITE_DATABASE="/data/daily-counter.db" SQLITE_DATABASE_URL="sqlite://$SQLITE_DATABASE"