test
All checks were successful
/ debug (push) Successful in 35s

This commit is contained in:
Jonas 2024-12-13 13:09:34 +01:00
parent a0891faf8b
commit 1cc6d74f81
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk
2 changed files with 3 additions and 5 deletions

View file

@ -2,10 +2,10 @@ FROM alpine:latest
RUN apk add --no-cache \ RUN apk add --no-cache \
openssh \ openssh \
rsync rsync \
git
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View file

@ -1,8 +1,6 @@
#!/bin/sh #!/bin/sh
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \ echo 'hello'
-exec brotli --best -f {} \+ \
-exec gzip --best -k -f {} \+
sleep 3 sleep 3
exit 0 exit 0