diff --git a/docker/Dockerfile.oldev b/docker/Dockerfile.oldev index ecd1986257d..7312a80c1c1 100644 --- a/docker/Dockerfile.oldev +++ b/docker/Dockerfile.oldev @@ -1,4 +1,11 @@ FROM openlibrary/olbase:latest + +# Allow for nexus overrides +ARG PIP_INDEX_URL +ENV PIP_INDEX_URL=${PIP_INDEX_URL:-} +ARG NPM_CONFIG_REGISTRY +ENV NPM_CONFIG_REGISTRY=${NPM_CONFIG_REGISTRY:-} + WORKDIR /openlibrary COPY --chown=openlibrary:openlibrary requirements*.txt ./