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
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 7m34s
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user