mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
need to first npm install, before we can run grunt
This commit is contained in:
parent
191bdc39e6
commit
d23b80d75a
@ -96,13 +96,13 @@ RUN set -e \
|
|||||||
&& apt-get install -y nodejs libatomic1 ; \
|
&& apt-get install -y nodejs libatomic1 ; \
|
||||||
fi \
|
fi \
|
||||||
&& npm config set fetch-retries 5 \
|
&& npm config set fetch-retries 5 \
|
||||||
&& npm install -g grunt-cli \
|
&& mkdir chunks \
|
||||||
# npm install fails "silent" on network timeouts, retry until it works
|
|
||||||
&& until grunt; do sleep 5; npm install -g grunt-cli; done \
|
|
||||||
&& mkdir chunks \
|
|
||||||
&& npm install \
|
&& npm install \
|
||||||
# npm install fails "silent" on network timeouts, retry until it works
|
# npm install fails "silent" on network timeouts, retry until it works
|
||||||
&& until npm run build; do sleep 5; npm install; done \
|
&& 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
|
# clean up and remove caches
|
||||||
&& npm uninstall -g grunt-cli \
|
&& npm uninstall -g grunt-cli \
|
||||||
&& npm cache clear --force \
|
&& npm cache clear --force \
|
||||||
|
Loading…
Reference in New Issue
Block a user