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

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

No files matched your search

+1 -1
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.