From 736338ba755ae6a2c70e96f7fe7f5fa93b14519e Mon Sep 17 00:00:00 2001 From: Jeremy Karst Date: Fri, 4 Apr 2025 20:59:59 -0400 Subject: [PATCH] Attempting to fix dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38b5dfa..98224b8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,9 @@ RUN apk add --no-cache hugo git # Copy the repository contents COPY . . -# Initialize submodules if not done -RUN git submodule update --init +# Initialize and update submodules +RUN git submodule init && \ + git submodule update --init --recursive # Build the site RUN hugo --minify