diff options
author | crupest <crupest@outlook.com> | 2022-11-30 19:00:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-11-30 19:00:08 +0800 |
commit | c11b92992e6eebd91d6bbce26b2f407312d05a60 (patch) | |
tree | 4c2cad5c58d14dc22bd7af0a7ab6aaa1315e8ce5 /docker/crupest-nginx | |
parent | 3c918a6096e77190db83c998e777074493515326 (diff) | |
download | crupest-c11b92992e6eebd91d6bbce26b2f407312d05a60.tar.gz crupest-c11b92992e6eebd91d6bbce26b2f407312d05a60.tar.bz2 crupest-c11b92992e6eebd91d6bbce26b2f407312d05a60.zip |
A new way for blog.
Diffstat (limited to 'docker/crupest-nginx')
-rw-r--r-- | docker/crupest-nginx/Dockerfile | 8 |
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 |