diff options
| author | crupest <crupest@outlook.com> | 2022-11-28 19:11:47 +0800 |
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-11-28 19:11:47 +0800 |
| commit | c3b82c6fc4c5c6acaa8720f88c07a2377c648fc5 (patch) | |
| tree | 3fe5a5c1a98c2643de493dbb7d001d7545e0a1d2 /docker/crupest-nginx | |
| parent | c87ba8249755bedd6593369696f79273e55f9050 (diff) | |
| download | crupest-c3b82c6fc4c5c6acaa8720f88c07a2377c648fc5.tar.gz crupest-c3b82c6fc4c5c6acaa8720f88c07a2377c648fc5.tar.bz2 crupest-c3b82c6fc4c5c6acaa8720f88c07a2377c648fc5.zip | |
Auto update submodule in blog.
Diffstat (limited to 'docker/crupest-nginx')
| -rw-r--r-- | docker/crupest-nginx/Dockerfile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docker/crupest-nginx/Dockerfile b/docker/crupest-nginx/Dockerfile index 9b9c7b7..074e8cc 100644 --- a/docker/crupest-nginx/Dockerfile +++ b/docker/crupest-nginx/Dockerfile @@ -4,7 +4,10 @@ COPY sites/www /sites/www WORKDIR /sites/www RUN pnpm install --frozen-lockfile && pnpm run build -FROM klakegg/hugo AS build-blog +FROM klakegg/ext-alpine AS build-blog +# install git +RUN apk add --no-cache git +RUN git submodule update --init --recursive COPY sites/blog /hugo WORKDIR /hugo RUN hugo |
