aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-01 21:07:23 +0800
committerGitHub <noreply@github.com>2022-12-01 21:07:23 +0800
commitaf0ca34fc81fc0f2725dbace77430c4020159ba0 (patch)
treeb829659ea389021cb7fd706c88ab5b1ca3828bfd
parent79bc52a41b752c2e02dfc6daa73105a6e1143d9c (diff)
downloadcrupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.tar.gz
crupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.tar.bz2
crupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.zip
Update Dockerfile to try to make blog image smaller.
-rw-r--r--docker/crupest-blog/Dockerfile3
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" ]