aboutsummaryrefslogtreecommitdiff
path: root/docker
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
commit7c8bc2533a00e894d2ad3a551fc2c10f5743347d (patch)
tree6ee8b1426d1305c05e2b2c38bbf157a2d47a6c6f /docker
parent5900c943160de1c7fde2afd8211faa8372c00505 (diff)
downloadcrupest-7c8bc2533a00e894d2ad3a551fc2c10f5743347d.tar.gz
crupest-7c8bc2533a00e894d2ad3a551fc2c10f5743347d.tar.bz2
crupest-7c8bc2533a00e894d2ad3a551fc2c10f5743347d.zip
Fix blog.
Diffstat (limited to 'docker')
-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