fixes #619, improve sed replace regex

This commit is contained in:
Christian Hofer 2019-12-20 17:22:51 +01:00
parent 1ea460fc71
commit 451626f4af

View File

@ -34,7 +34,7 @@ COPY . /build
# Prepare assets
RUN yarn install --pure-lockfile --production && \
yarn cache clean && \
sed -i -e "s|'cssmin','cssrewrite'|'cssmin'|g" /build/powerdnsadmin/assets.py && \
sed -i -r -e "s|'cssmin',\s?'cssrewrite'|'cssmin'|g" /build/powerdnsadmin/assets.py && \
flask assets build
RUN mv /build/powerdnsadmin/static /tmp/static && \