Still trying to fixed the submodule issue
This commit is contained in:
parent
0bcb45bc5f
commit
5b9ffb9315
2 changed files with 3 additions and 7 deletions
|
@ -1,6 +1,3 @@
|
||||||
.git
|
|
||||||
.gitignore
|
|
||||||
.gitmodules
|
|
||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
public/
|
public/
|
||||||
resources/
|
resources/
|
||||||
|
@ -8,4 +5,4 @@ resources/
|
||||||
*.log
|
*.log
|
||||||
README.md
|
README.md
|
||||||
Dockerfile
|
Dockerfile
|
||||||
.dockerignore
|
.dockerignore
|
|
@ -7,9 +7,8 @@ RUN apk add --no-cache hugo git
|
||||||
# Copy the repository contents
|
# Copy the repository contents
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Initialize and update submodules
|
# Initialize submodules
|
||||||
RUN git submodule init
|
RUN git submodule update --init
|
||||||
RUN 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