Use the sass binary from npm

This commit is contained in:
Roland Geider
2025-10-16 21:16:14 +02:00
parent a3b0b96b29
commit b38d4bcd0e
2 changed files with 3 additions and 5 deletions

View File

@@ -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

View File

@@ -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