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 | af0ca34fc81fc0f2725dbace77430c4020159ba0 (patch) | |
| tree | b829659ea389021cb7fd706c88ab5b1ca3828bfd /docker/crupest-blog | |
| parent | 79bc52a41b752c2e02dfc6daa73105a6e1143d9c (diff) | |
| download | crupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.tar.gz crupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.tar.bz2 crupest-af0ca34fc81fc0f2725dbace77430c4020159ba0.zip  | |
Update Dockerfile to try to make blog image smaller.
Diffstat (limited to 'docker/crupest-blog')
| -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" ]  | 
