diff options
author | Evan Read <eread@gitlab.com> | 2023-04-24 03:03:52 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2023-04-24 09:49:37 +0300 |
commit | e8db8bb81a7a8266c0acec436a2f606227a98f40 (patch) | |
tree | 1719b3baf4faabdfcd896184abfdb4b3173407b8 | |
parent | c35b45bf60ba95336819d5a1587d97a6ea6e7b19 (diff) |
Remove minification step
-rw-r--r-- | 15.11.Dockerfile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/15.11.Dockerfile b/15.11.Dockerfile index 15b6d8a9..2cac2440 100644 --- a/15.11.Dockerfile +++ b/15.11.Dockerfile @@ -67,11 +67,9 @@ RUN if [ "$SEARCH_BACKEND" = "lunr" ]; then make build-lunr-index; fi RUN mkdir /site \ && mv public "/site/${VER}" -# Do some HTML post-processing on the archive, compress images, and minify assets +# Do some HTML post-processing on the archive, and compress images RUN /source/scripts/normalize-links.sh /site "${VER}" \ - && /source/scripts/compress_images.sh /site "${VER}" \ - # ATTENTION: This should be the last script to run - && /source/scripts/minify-assets.sh /site "${VER}" + && /source/scripts/compress_images.sh /site "${VER}" # Make an index.html and 404.html which will redirect / to /${VER}/ RUN echo "<html><head><title>Redirect for ${VER}</title><meta http-equiv=\"refresh\" content=\"0;url='/${VER}/'\" /></head><body><p>If you are not redirected automatically, click <a href=\"/${VER}/\">here</a>.</p></body></html>" > /site/index.html \ |