parent
a0891faf8b
commit
1cc6d74f81
2 changed files with 3 additions and 5 deletions
|
@ -2,10 +2,10 @@ FROM alpine:latest
|
|||
|
||||
RUN apk add --no-cache \
|
||||
openssh \
|
||||
rsync
|
||||
rsync \
|
||||
git
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
find ./public -type f -regex ".*\.\(css\|html\|js\|json\|svg\|xml\)$" \
|
||||
-exec brotli --best -f {} \+ \
|
||||
-exec gzip --best -k -f {} \+
|
||||
echo 'hello'
|
||||
|
||||
sleep 3
|
||||
exit 0
|
||||
|
|
Loading…
Reference in a new issue