diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index bf58ec2..c8981f8 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -10,7 +10,8 @@ echo "Cloning $REPO_URL (branch: $BRANCH)..." git clone --depth 1 --recurse-submodules --branch "$BRANCH" "$REPO_URL" "$CLONE_DIR" echo "Building site with Hugo $HUGO_VERSION..." -hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir +hugo --source "$CLONE_DIR" --destination "$HUGO_DEST" --cleanDestinationDir --gc --verbose --panicOnWarning --printI18nWarnings --templateMetrics --templateMetricsHints + echo "Starting Nginx..." exec nginx -g 'daemon off;' \ No newline at end of file