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 \
|
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"]
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue