Remove redundancy in dependency install

Full dependency install is replaced by just nodejs dependency install,
which should considerably accelerate the build step.

This closes #2.

Kudos to @sampaccoud for suggesting this!
This commit is contained in:
Régis Behmo 2018-02-07 08:22:04 +01:00
parent 7f27ab952b
commit bba21ac592
1 changed files with 2 additions and 2 deletions

View File

@ -34,8 +34,8 @@ RUN pip install -r requirements/edx/base.txt
RUN pip install -r requirements/edx/post.txt
RUN pip install -r requirements/edx/paver.txt
# Finish requirements install
RUN paver install_prereqs
# Install nodejs requirements
RUN npm install
# Copy configuration files
COPY ./config/production_lms.py /openedx/edx-platform/lms/envs/production.py