From c11b92992e6eebd91d6bbce26b2f407312d05a60 Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 30 Nov 2022 19:00:08 +0800 Subject: A new way for blog. --- docker/crupest-nginx/Dockerfile | 8 -------- 1 file changed, 8 deletions(-) (limited to 'docker/crupest-nginx') diff --git a/docker/crupest-nginx/Dockerfile b/docker/crupest-nginx/Dockerfile index 046031b..58a188c 100644 --- a/docker/crupest-nginx/Dockerfile +++ b/docker/crupest-nginx/Dockerfile @@ -4,14 +4,6 @@ COPY sites/www /sites/www WORKDIR /sites/www RUN pnpm install --frozen-lockfile && pnpm run build -FROM klakegg/hugo:ext-alpine AS build-blog -# install git -RUN apk add --no-cache git -WORKDIR / -RUN git clone https://github.com/crupest/blog.git && cd blog && git submodule update --init --recursive -WORKDIR /blog -RUN hugo - FROM nginx:mainline-alpine COPY --from=build-www /sites/www/dist /srv/www COPY --from=build-blog /blog/public /srv/blog -- cgit v1.2.3