1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Lucien
2783629f99
Merge fe16052056916f9d3572f0a1235fedf9878d0b01 into 3bdbe9043400f52a4f4b08e0be15ad8d42b72121 2024-02-08 18:56:55 -07:00
Lucien
fe16052056
Merge pull request #1 from LucienShui/imgbot
[ImgBot] Optimize images
2020-08-26 11:07:25 +08:00
Lucien
f21ffd6bfa
Avoid inactive connection
https://github.com/tinyproxy/tinyproxy/issues/199
2020-08-26 11:02:06 +08:00
ImgBotApp
1c434b2d2e
[ImgBot] Optimize images
*Total -- 181.18kb -> 152.26kb (15.96%)

/krakend/data/krakend.png -- 32.27kb -> 23.93kb (25.84%)
/node-red/screenshot.png -- 80.86kb -> 61.85kb (23.51%)
/rtmp/server/html/img/cctv.jpg -- 60.20kb -> 58.80kb (2.33%)
/tesseract/data/chinese.jpg -- 7.84kb -> 7.67kb (2.19%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-08-26 02:52:07 +00:00
5 changed files with 1 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

@ -10,6 +10,7 @@ RUN set -xe \
&& sed -i -e '/^Allow /s/^/#/' \
-e '/^ConnectPort /s/^/#/' \
-e '/^#DisableViaHeader /s/^#//' \
-e 's/^Timeout.*/Timeout 10/' \
/etc/tinyproxy/tinyproxy.conf
VOLUME /etc/tinyproxy