aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-28 19:32:23 +0800
committercrupest <crupest@outlook.com>2022-11-28 19:32:23 +0800
commitef050c68e5d9a0bf56f41e93f261530f6fa762e0 (patch)
tree6ee8b1426d1305c05e2b2c38bbf157a2d47a6c6f /docker/crupest-nginx
parente0a570af9959b9270f01ee33478d05689826f465 (diff)
downloadcrupest-ef050c68e5d9a0bf56f41e93f261530f6fa762e0.tar.gz
crupest-ef050c68e5d9a0bf56f41e93f261530f6fa762e0.tar.bz2
crupest-ef050c68e5d9a0bf56f41e93f261530f6fa762e0.zip
Fix blog.
Diffstat (limited to 'docker/crupest-nginx')
-rw-r--r--docker/crupest-nginx/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-nginx/Dockerfile b/docker/crupest-nginx/Dockerfile
index 82fd900..0ab61b8 100644
--- a/docker/crupest-nginx/Dockerfile
+++ b/docker/crupest-nginx/Dockerfile
@@ -7,9 +7,9 @@ RUN pnpm install --frozen-lockfile && pnpm run build
FROM klakegg/hugo: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 git submodule update --init --recursive
RUN hugo
FROM nginx:latest