Create precompress script and add a Dockerfile for execution

This commit is contained in:
Tony Blyler 2021-05-13 23:47:38 -04:00
parent 84837becaf
commit a166f0e4b3
2 changed files with 96 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM alpine:3.13
RUN apk add --no-cache \
brotli \
pigz \
zstd \
bash \
the_silver_searcher
COPY ./precompress /precompress
VOLUME /compress-dir
WORKDIR /compress-dir
ENTRYPOINT ["/precompress"]