X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e6239f4e83a99503be4c09c329029df1d3f2b5b9..14ccdb3747519e378f69d2f64f5a041a6dd5391c:/Dockerfile diff --git a/Dockerfile b/Dockerfile index 08ec72375..424f37bef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,6 +40,11 @@ RUN apt-get update && apt-get install -y \ texlive-fonts-extra-links \ fonts-noto-core fonts-noto-extra +# Install dart-sass for compiling SCSS. +ARG DART_SASS_VERSION=1.108.1 +RUN arch=$(dpkg --print-architecture | sed 's/amd64/x64/') && \ + curl -fsSL "https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-${arch}.tar.gz" \ + | tar xz -C /opt COPY requirements/requirements.txt requirements.txt