diff --git a/.dockerignore b/.dockerignore index 9b31c96..fb7fa1e 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,6 +1,3 @@ -.git -.gitignore -.gitmodules .hugo_build.lock public/ resources/ @@ -8,4 +5,4 @@ resources/ *.log README.md Dockerfile -.dockerignore \ No newline at end of file +.dockerignore \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index b9f4aa8..a651a67 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,8 @@ RUN apk add --no-cache hugo git # Copy the repository contents COPY . . -# Initialize and update submodules -RUN git submodule init -RUN git submodule update --init --recursive +# Initialize submodules +RUN git submodule update --init # Build the site RUN hugo --minify