From d23b80d75a8df13ea30c33e9ef40d9bf6016ef2f Mon Sep 17 00:00:00 2001 From: ralf Date: Tue, 30 Apr 2024 13:42:31 +0200 Subject: [PATCH] need to first npm install, before we can run grunt --- doc/docker/fpm/Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/docker/fpm/Dockerfile b/doc/docker/fpm/Dockerfile index 9568f18f0a..f7c159fe5e 100644 --- a/doc/docker/fpm/Dockerfile +++ b/doc/docker/fpm/Dockerfile @@ -96,13 +96,13 @@ RUN set -e \ && apt-get install -y nodejs libatomic1 ; \ fi \ && npm config set fetch-retries 5 \ - && npm install -g grunt-cli \ - # npm install fails "silent" on network timeouts, retry until it works - && until grunt; do sleep 5; npm install -g grunt-cli; done \ - && mkdir chunks \ + && mkdir chunks \ && npm install \ - # npm install fails "silent" on network timeouts, retry until it works - && until npm run build; do sleep 5; npm install; done \ + # npm install fails "silent" on network timeouts, retry until it works + && until npm run build; do sleep 5; npm install; done \ + && npm install -g grunt-cli \ + # npm install fails "silent" on network timeouts, retry until it works + && until grunt; do sleep 5; npm install -g grunt-cli; done \ # clean up and remove caches && npm uninstall -g grunt-cli \ && npm cache clear --force \