fix(build): load NPM_REGISTRY from config
This commit is contained in:
parent
36bbec4a9e
commit
c0fadf4faa
@ -38,7 +38,7 @@ ENV PATH /openedx/nodeenv/bin:${PATH}
|
||||
# This is identical to "make production-requirements" but it was split in multiple
|
||||
# instructions to benefit from docker image caching
|
||||
RUN pip install -r requirements.txt
|
||||
ARG NPM_REGISTRY=https://registry.npmjs.org/
|
||||
ARG NPM_REGISTRY={{ NPM_REGISTRY }}
|
||||
RUN npm install --verbose --registry=$NPM_REGISTRY --production
|
||||
RUN ./node_modules/.bin/bower install --allow-root --production
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user