mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 02:19:58 -03:30
add npm registry arg
This commit is contained in:
parent
a3a5db1c44
commit
844f3fde72
@ -15,6 +15,11 @@ WORKDIR /awx
|
||||
|
||||
COPY awx/ui/package.json awx/ui/package.json
|
||||
|
||||
ARG NPM_REGISTRY=https://registry.npmjs.org
|
||||
ENV NPM_REGISTRY=${NPM_REGISTRY}
|
||||
|
||||
RUN npm config set registry ${NPM_REGISTRY}
|
||||
|
||||
RUN npm --prefix=awx/ui install
|
||||
|
||||
COPY awx/ui/test/e2e awx/ui/test/e2e
|
||||
|
||||
@ -39,3 +39,4 @@ services:
|
||||
AWX_E2E_CLUSTER_HOST: hub
|
||||
AWX_E2E_CLUSTER_PORT: 4444
|
||||
DBUS_SESSION_BUS_ADDRESS: /dev/null
|
||||
NPM_REGISTRY: ${NPM_REGISTRY}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user