aboutsummaryrefslogtreecommitdiff
path: root/docker/blog/Dockerfile
blob: 7414d4e5bd7d2e17256e7dd510ee79f3dfe64ce2 (plain)
1
2
3
4
5
6
7
8
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" ]