Attempting to fix dockerfile
This commit is contained in:
parent
d229150068
commit
736338ba75
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue