6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 04:09:01 +00:00

Faster "npm install"

This should shave a few minutes per build.
This commit is contained in:
Régis Behmo 2018-12-08 20:02:45 +01:00 committed by Régis Behmo
parent 14b1047424
commit 9db0e59ae7

View File

@ -53,7 +53,8 @@ RUN pip uninstall -y ora2 && \
pip install --src ../venv/src git+https://github.com/regisb/edx-ora2.git@open-release/hawthorn.2#egg=ora2==2.1.17
# Install nodejs requirements
RUN npm install
RUN npm set progress=false \
&& npm install
ENV PATH ./node_modules/.bin:${PATH}
# Install private requirements: this is useful for installing custom xblocks.