From 0aaa51e736c138bc86ef317f98c1365d6899ac71 Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Fri, 26 Sep 2025 17:54:44 -0500 Subject: [PATCH] Fix: touch log file during start up fixes laravel.log permissions #137 --- docker/entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index ae2a022..cf6ae46 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -15,6 +15,9 @@ mkdir -p storage/framework/cache \ storage/app \ storage/logs +timestamp=$(date -u "+[%Y-%m-%d %H:%M:%S]") +echo "$timestamp Investbrain starting..." >> storage/logs/laravel.log + echo -e "\n > Storage directory scaffolding is OK... " # Ensure storage directory is permissioned for www-data