aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-blog/Dockerfile
blob: 30c4547f290100af7b2592bc591d6a8dbaac7239 (plain)
1
2
3
4
5
6
7
8
FROM alpine:latest
ARG CRUPEST_BLOG_UPDATE_INTERVAL=1d
ENV CRUPEST_BLOG_UPDATE_INTERVAL=${CRUPEST_BLOG_UPDATE_INTERVAL}
COPY daemon.bash update.bash /scripts/
RUN apk add --no-cache coreutils tini bash git hugo
VOLUME [ "/public" ]
ENTRYPOINT ["/sbin/tini", "--"]
CMD [ "/scripts/daemon.bash" ]