diff options
Diffstat (limited to 'services/docker/blog/Dockerfile')
-rw-r--r-- | services/docker/blog/Dockerfile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/services/docker/blog/Dockerfile b/services/docker/blog/Dockerfile new file mode 100644 index 0000000..7414d4e --- /dev/null +++ b/services/docker/blog/Dockerfile @@ -0,0 +1,9 @@ +FROM debian:latest +ARG CRUPEST_BLOG_UPDATE_INTERVAL=1d +COPY install-hugo.bash /install-hugo.bash +RUN /install-hugo.bash && rm /install-hugo.bash +ENV CRUPEST_BLOG_UPDATE_INTERVAL=${CRUPEST_BLOG_UPDATE_INTERVAL} +COPY daemon.bash update.bash /scripts/ +VOLUME [ "/public" ] +ENTRYPOINT ["tini", "--"] +CMD [ "/scripts/daemon.bash" ] |