aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-nginx
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-11-30 19:00:08 +0800
committercrupest <crupest@outlook.com>2022-11-30 19:00:08 +0800
commit43e98101f1d9cf5845d1b6f189efffe3eb02f861 (patch)
tree4c2cad5c58d14dc22bd7af0a7ab6aaa1315e8ce5 /docker/crupest-nginx
parent702e921591973bd0f06acddfaf35c304846bfe8b (diff)
downloadcrupest-43e98101f1d9cf5845d1b6f189efffe3eb02f861.tar.gz
crupest-43e98101f1d9cf5845d1b6f189efffe3eb02f861.tar.bz2
crupest-43e98101f1d9cf5845d1b6f189efffe3eb02f861.zip
A new way for blog.
Diffstat (limited to 'docker/crupest-nginx')
-rw-r--r--docker/crupest-nginx/Dockerfile8
1 files changed, 0 insertions, 8 deletions
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