Fix custom npm registry url

This commit is contained in:
Régis Behmo 2020-09-01 15:53:52 +02:00
parent c4746f4aac
commit d3f83c9a8c

View File

@ -37,7 +37,7 @@ RUN pip install "whitenoise==5.1.0"
# instructions to benefit from docker image caching
RUN pip install -r requirements.txt
ARG NPM_REGISTRY=https://registry.npmjs.org/
RUN npm install --verbose --registry=$NPM_REGISTRYRUN --production
RUN npm install --verbose --registry=$NPM_REGISTRY --production
RUN ./node_modules/.bin/bower install --allow-root --production
# Collect static assets