7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-14 03:22:21 +00:00

fix: revert back to "npm install"

"npm ci" is broken in master because of the node 16 upgrade. See discussion
here:
https://github.com/openedx/edx-platform/pull/30459#issuecomment-1136888560

We will revert to "npm ci" once the node 16 upgrade is complete.
This commit is contained in:
Régis Behmo 2022-06-03 15:36:11 +02:00
parent 33c5c3269c
commit 5faf03e3b3

View File

@ -111,7 +111,7 @@ ARG NPM_REGISTRY={{ NPM_REGISTRY }}
COPY --from=code /openedx/edx-platform/package.json /openedx/edx-platform/package.json
COPY --from=code /openedx/edx-platform/package-lock.json /openedx/edx-platform/package-lock.json
WORKDIR /openedx/edx-platform
RUN npm clean-install --verbose --registry=$NPM_REGISTRY
RUN npm install --verbose --registry=$NPM_REGISTRY
###### Production image with system and python requirements
FROM minimal as production