add submodule
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
FROM docker.io/hugomods/hugo:latest AS build
|
FROM docker.io/hugomods/hugo:latest AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN hugo
|
RUN git submodule update --init --recursive --progress
|
||||||
|
RUN hugo
|
||||||
|
|
||||||
FROM nginx:alpine
|
FROM nginx:alpine
|
||||||
COPY --from=build /src/public /usr/share/nginx/html
|
COPY --from=build /src/public /usr/share/nginx/html
|
||||||
Reference in New Issue
Block a user