Improved the PNG assets optimization on the Dockerfile in the Website service target to do it recursively.

This commit is contained in:
2026-08-02 02:41:46 +02:00
parent 59ce633499
commit a5ee02bb0b
+1 -1
View File
@@ -19,7 +19,7 @@ WORKDIR /static
COPY ./Services/Website/Resources/Static .
RUN esbuild --minify --allow-overwrite --outdir=css css/*.css \
&& esbuild --minify --allow-overwrite --outdir=js js/*.js \
&& oxipng --opt max --strip safe *.png \
&& oxipng --opt max --strip safe --recursive . \
&& svgo --recursive --folder .
# Export stage: `docker build --target assets-export --output <dir>` writes the minified static files to <dir> for