aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-nginx')
-rw-r--r--docker/crupest-nginx/Dockerfile5
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