From 7c9237399590dff5d53ca74b594c74d9e1af5082 Mon Sep 17 00:00:00 2001 From: Ettore Dreucci Date: Wed, 8 Oct 2025 22:54:06 +0200 Subject: [PATCH] First try --- entrypoint.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/entrypoint.sh b/entrypoint.sh index 684f119..e441f99 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -67,6 +67,7 @@ WEBHOOK_PID=$! # Start hugo server in foreground (PID 1 for container) echo "Starting Hugo server, baseURL=$HUGO_BASEURL" +cd "$REPO_DIR" # bind to 0.0.0.0 so it is reachable outside container hugo server --bind 0.0.0.0 --baseURL "${HUGO_BASEURL}" ${HUGO_FLAGS}