diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 16:26:59 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 16:26:59 +0300 |
commit | 295078ddb003852094b6232669576e0d1831ee72 (patch) | |
tree | 5abb81c6d76debefe86bbdc3a9f8d6b770a70bcd /dockerfiles | |
parent | 1493636874d778512849b8d561f7d238345945db (diff) |
Fix minify script name
Diffstat (limited to 'dockerfiles')
-rw-r--r-- | dockerfiles/Dockerfile.builder.onbuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dockerfiles/Dockerfile.builder.onbuild b/dockerfiles/Dockerfile.builder.onbuild index fd1877c0f..99f090fba 100644 --- a/dockerfiles/Dockerfile.builder.onbuild +++ b/dockerfiles/Dockerfile.builder.onbuild @@ -29,7 +29,7 @@ ONBUILD RUN [ -f /scripts/normalize-links.sh ] && /scripts/normalize-links.sh /s ONBUILD RUN [ -f /scripts/compress_images.sh ] && /scripts/compress_images.sh /site ${VER} || "/scripts/compress_images.sh not found" # Minify assets -ONBUILD RUN [ -f /scripts/minify ] && /scripts/minify /site ${VER} || "/scripts/minify not found" +ONBUILD RUN [ -f /scripts/minify-assets.sh ] && /scripts/minify-assets.sh /site ${VER} || "/scripts/minify-assets.sh not found" # Make an index.html and 404.html which will redirect / to /${VER}/ ONBUILD 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 |