From a0891faf8be73a6d6d66ba21c79848f09265b08a Mon Sep 17 00:00:00 2001 From: lubiana Date: Fri, 13 Dec 2024 13:07:55 +0100 Subject: [PATCH] test --- actions/sleep/Dockerfile | 4 ++++ actions/sleep/entrypoint.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/actions/sleep/Dockerfile b/actions/sleep/Dockerfile index 085d8fb..f136650 100644 --- a/actions/sleep/Dockerfile +++ b/actions/sleep/Dockerfile @@ -1,5 +1,9 @@ FROM alpine:latest +RUN apk add --no-cache \ + openssh \ + rsync + COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/actions/sleep/entrypoint.sh b/actions/sleep/entrypoint.sh index 2f7d3db..6984b7d 100644 --- a/actions/sleep/entrypoint.sh +++ b/actions/sleep/entrypoint.sh @@ -1,4 +1,8 @@ #!/bin/sh +find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \ + -exec brotli --best -f {} \+ \ + -exec gzip --best -k -f {} \+ + sleep 3 exit 0