From a5ee02bb0b79a447370b2de840afb33acbddfa3f Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 2 Aug 2026 02:41:46 +0200 Subject: [PATCH] Improved the PNG assets optimization on the Dockerfile in the Website service target to do it recursively. --- Services/Website/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/Website/Dockerfile b/Services/Website/Dockerfile index 0714bda..c1c6879 100644 --- a/Services/Website/Dockerfile +++ b/Services/Website/Dockerfile @@ -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 ` writes the minified static files to for