mirror of
https://github.com/wger-project/wger.git
synced 2026-02-18 00:17:51 +01:00
Use the sass binary from npm
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user