diff options
author | crupest <crupest@outlook.com> | 2022-12-01 21:07:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-01 21:07:23 +0800 |
commit | 6c9a9d6b7db4f2117d046e19a3021b5967900cdb (patch) | |
tree | b829659ea389021cb7fd706c88ab5b1ca3828bfd | |
parent | 5a993e2d7660154eb6128ca5c3b5f9c91a6767a5 (diff) | |
download | crupest-6c9a9d6b7db4f2117d046e19a3021b5967900cdb.tar.gz crupest-6c9a9d6b7db4f2117d046e19a3021b5967900cdb.tar.bz2 crupest-6c9a9d6b7db4f2117d046e19a3021b5967900cdb.zip |
Update Dockerfile to try to make blog image smaller.
-rw-r--r-- | docker/crupest-blog/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/crupest-blog/Dockerfile b/docker/crupest-blog/Dockerfile index 5e9ae88..762a887 100644 --- a/docker/crupest-blog/Dockerfile +++ b/docker/crupest-blog/Dockerfile @@ -3,7 +3,8 @@ FROM klakegg/hugo:ext-alpine-ci ARG CRUPEST_BLOG_UPDATE_INTERVAL=1d RUN apk add --no-cache coreutils tini bash git ENV CRUPEST_BLOG_UPDATE_INTERVAL=${CRUPEST_BLOG_UPDATE_INTERVAL} -COPY daemon.bash update.bash / +COPY daemon.bash /daemon.bash +COPY update.bash /update.bash VOLUME [ "/public" ] ENTRYPOINT ["/sbin/tini", "--"] CMD [ "/daemon.bash" ] |