diff options
Diffstat (limited to 'docker/crupest-blog/Dockerfile')
-rw-r--r-- | docker/crupest-blog/Dockerfile | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/docker/crupest-blog/Dockerfile b/docker/crupest-blog/Dockerfile index 43bd5b4..30c4547 100644 --- a/docker/crupest-blog/Dockerfile +++ b/docker/crupest-blog/Dockerfile @@ -1,13 +1,8 @@ -FROM golang:alpine AS builder -RUN go install -tags extended github.com/gohugoio/hugo@latest && /root/go/hugo version - FROM alpine:latest ARG CRUPEST_BLOG_UPDATE_INTERVAL=1d ENV CRUPEST_BLOG_UPDATE_INTERVAL=${CRUPEST_BLOG_UPDATE_INTERVAL} -COPY --from=builder /root/go/hugo /usr/bin -RUN hugo version COPY daemon.bash update.bash /scripts/ -RUN apk add --no-cache coreutils tini bash git +RUN apk add --no-cache coreutils tini bash git hugo VOLUME [ "/public" ] ENTRYPOINT ["/sbin/tini", "--"] -CMD [ "/daemon.bash" ] +CMD [ "/scripts/daemon.bash" ] |