diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:03:31 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:03:31 +0300 |
commit | fb2748efdc245bbda34a47a9cdbae36dc19aa46e (patch) | |
tree | ed2f2515aa592d6277089360cdf9639e1e949d8a /dockerfiles | |
parent | 4defe41d28695c38816e12ed4680d6a60c21e134 (diff) |
Fix minify script to check the right directory
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 8abbf5a69..fd1877c0f 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 ${VER} || "/scripts/minify not found" +ONBUILD RUN [ -f /scripts/minify ] && /scripts/minify /site ${VER} || "/scripts/minify 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 |