test
Some checks failed
/ debug (push) Failing after 16s

This commit is contained in:
lubiana 2024-12-12 20:14:09 +01:00
parent 05a15b70bb
commit 979335fef0
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
951 changed files with 11214 additions and 15 deletions

14
docker/Dockerfile Normal file
View file

@ -0,0 +1,14 @@
FROM alpine:edge
RUN apk add --no-cache \
brotli \
gzip \
hugo \
openssh \
zstd \
rsync \
git
ADD ./build.sh /build.sh
RUN chmod a+x /build.sh
CMD /build.sh

8
docker/build.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
hugo
find ./public -type f \
-regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+ \
-exec zstd -f --ultra -22 {} +\