Private
Public Access
1
0

Adjust PNG compression level in Dockerfile from -o7 to -o3 for faster build times.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m34s

This commit is contained in:
Sebastian Unterschütz
2026-01-05 22:17:51 +01:00
parent c8c43a110a
commit 291b6f5953
2 changed files with 1 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ RUN chmod +x scripts/cache-version.sh && \
# Bilder komprimieren (verlustfrei für PNG, leichter Verlust für JPG)
RUN echo "🗜️ Komprimiere Bilder..." && \
find cmd/client/web -type f -name "*.png" -exec optipng -o7 -strip all {} \; && \
find cmd/client/web -type f -name "*.png" -exec optipng -o3 -strip all {} \; && \
find cmd/client/web -type f \( -name "*.jpg" -o -name "*.jpeg" \) -exec jpegoptim -m85 --strip-all --all-progressive --preserve --totals {} \; && \
echo "✅ Bildkompression abgeschlossen"

Binary file not shown.