diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:31:00 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-12-09 13:31:00 +0300 |
commit | 93ce779501739222d86bdff79e600eb791984e66 (patch) | |
tree | 0343d798acb885facae411d99496d2a81262e0ae /Dockerfile.master | |
parent | a2011e296a0ca324674cf829b4c649f64ba953c9 (diff) |
No need to run minify in Dockerfile.master
We run minify anyway in the pages job, right before the pages
artifacts are uploaded.
Diffstat (limited to 'Dockerfile.master')
-rw-r--r-- | Dockerfile.master | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Dockerfile.master b/Dockerfile.master index dddd6f2b..6efefd6d 100644 --- a/Dockerfile.master +++ b/Dockerfile.master @@ -56,9 +56,5 @@ COPY --from=registry.gitlab.com/gitlab-org/gitlab-docs:12.3 ${TARGET} ${TARGET} # changes COPY --from=builder /source/public ${TARGET} -# Minify assets -COPY --from=builder /scripts/minify* /scripts/ -RUN /scripts/minify-assets.sh ${TARGET}/ ${TARGET} - # Serve the site (target), which is now all static HTML CMD echo -e "GitLab docs are viewable at:\nhttp://0.0.0.0:4000"; exec nginx -g 'daemon off;' |