Merge remote-tracking branch 'chrisss404/master'

This commit is contained in:
Khanh Ngo 2019-12-21 08:35:52 +07:00
commit 49908b9039

View File

@ -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 && \