diff --git a/docker/Dockerfile b/docker/Dockerfile index c9cab64..b553998 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,7 +38,7 @@ COPY . /build # Prepare assets RUN yarn install --pure-lockfile --production && \ yarn cache clean && \ - sed -i -r -e "s|'cssmin',\s?'cssrewrite'|'rcssmin'|g" /build/powerdnsadmin/assets.py && \ + sed -i -r -e "s|'rcssmin',\s?'cssrewrite'|'rcssmin'|g" /build/powerdnsadmin/assets.py && \ flask assets build RUN mv /build/powerdnsadmin/static /tmp/static && \ diff --git a/powerdnsadmin/assets.py b/powerdnsadmin/assets.py index 52e8d26..0db26d1 100644 --- a/powerdnsadmin/assets.py +++ b/powerdnsadmin/assets.py @@ -38,7 +38,7 @@ css_main = Bundle( 'node_modules/admin-lte/dist/css/adminlte.css', 'custom/css/custom.css', 'node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css', - filters=('cssmin', 'cssrewrite'), + filters=('rcssmin', 'cssrewrite'), output='generated/main.css') js_main = Bundle(