From b38d4bcd0e70080d3083d5cb4ddc83b2a71c976d Mon Sep 17 00:00:00 2001 From: Roland Geider Date: Thu, 16 Oct 2025 21:16:14 +0200 Subject: [PATCH] Use the sass binary from npm --- extras/docker/demo/Dockerfile | 5 ++--- extras/docker/production/Dockerfile | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/extras/docker/demo/Dockerfile b/extras/docker/demo/Dockerfile index 3e2036174..f9ae35c6a 100644 --- a/extras/docker/demo/Dockerfile +++ b/extras/docker/demo/Dockerfile @@ -33,10 +33,9 @@ RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \ libpq-dev \ rustc \ cargo \ - sassc \ nodejs \ - && ln -s /usr/bin/sassc /usr/bin/sass \ - && rm -rf /var/lib/apt/lists/* + && rm -rf /var/lib/apt/lists/* \ + && npm install -g sass # Build the necessary python wheels WORKDIR /home/wger/src diff --git a/extras/docker/production/Dockerfile b/extras/docker/production/Dockerfile index 2102656a8..9eadb72e5 100644 --- a/extras/docker/production/Dockerfile +++ b/extras/docker/production/Dockerfile @@ -27,7 +27,6 @@ RUN wget -O- https://deb.nodesource.com/setup_22.x | bash - \ libwebp-dev \ libpq-dev \ rustc \ - sassc \ cargo \ unzip \ nodejs \ @@ -52,7 +51,7 @@ RUN pip3 wheel \ --no-cache-dir \ --wheel-dir /wheels \ --group docker . \ - && ln -s /usr/bin/sassc /usr/bin/sass + && npm install -g sass # Fetch the JS and CSS files. # For the react-components npm package, we fetch it manually, extract it and move