build(docker/frontend): fix npm registry parametrization
This commit is contained in:
parent
0de102805a
commit
18585db1aa
@ -30,7 +30,7 @@ WORKDIR ${PROJECT_DIR}
|
|||||||
ENV HOME=${PROJECT_DIR}
|
ENV HOME=${PROJECT_DIR}
|
||||||
|
|
||||||
RUN if [ ! -z "${NPM_CUSTOM_REGISTRY}" ]; then \
|
RUN if [ ! -z "${NPM_CUSTOM_REGISTRY}" ]; then \
|
||||||
printf 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/\n\nalways-auth=true' > .npmrc \
|
printf 'registry=${NPM_CUSTOM_REGISTRY}' > .npmrc \
|
||||||
; fi
|
; fi
|
||||||
|
|
||||||
RUN make -- --dependencies-frontend IN_CONTAINER=true
|
RUN make -- --dependencies-frontend IN_CONTAINER=true
|
||||||
|
|||||||
Reference in New Issue
Block a user