figbert.com-website

[ACTIVE] the website and home of figbert on the clearnet
git clone git://git.figbert.com/figbert.com-website.git
Log | Files | Refs | README | LICENSE

commit 9e1c9694b600ba22fd9092bab1e5b633805a5a1f
parent 5349be543e9360cfd9cdd9ef9f5913bb40cba76e
Author: FIGBERT <figbert@figbert.com>
Date:   Tue,  1 Sep 2020 12:14:22 -0700

:whale: Add Dockerfile

Diffstat:
ADockerfile | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/Dockerfile b/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine as builder + +WORKDIR /home/site +COPY . . + +RUN /bin/ash -c "echo \"http://dl-cdn.alpinelinux.org/alpine/edge/testing\" >> /etc/apk/repositories" \ + && apk update \ + && apk upgrade \ + && apk --no-cache add zola \ + && zola build + +FROM caddy:alpine + +COPY --from=builder /home/site/public /usr/share/caddy +COPY ./Caddyfile /etc/caddy/Caddyfile +