Added submodule init to dockerfile
This commit is contained in:
parent
9c9553b7b9
commit
0f78547a47
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ WORKDIR /app
|
|||
# Copy the repository contents
|
||||
COPY . .
|
||||
|
||||
# Initialize submodules if not done
|
||||
RUN git submodule update --init
|
||||
|
||||
# Build the site
|
||||
RUN hugo --minify
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue