mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-07-23 13:56:47 +00:00
fixes #619, improve sed replace regex
This commit is contained in:
@ -34,7 +34,7 @@ COPY . /build
|
|||||||
# Prepare assets
|
# Prepare assets
|
||||||
RUN yarn install --pure-lockfile --production && \
|
RUN yarn install --pure-lockfile --production && \
|
||||||
yarn cache clean && \
|
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
|
flask assets build
|
||||||
|
|
||||||
RUN mv /build/powerdnsadmin/static /tmp/static && \
|
RUN mv /build/powerdnsadmin/static /tmp/static && \
|
||||||
|
Reference in New Issue
Block a user