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 the repository contents
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Initialize submodules if not done
|
# Initialize and update submodules
|
||||||
RUN git submodule update --init
|
RUN git submodule init && \
|
||||||
|
git submodule update --init --recursive
|
||||||
|
|
||||||
# Build the site
|
# Build the site
|
||||||
RUN hugo --minify
|
RUN hugo --minify
|
||||||
|
|
Loading…
Add table
Reference in a new issue