diff --git a/dnpm/dnpm-compose-bwhc.yml b/dnpm/dnpm-compose-bwhc.yml index 9ff0f47..c40b4d8 100644 --- a/dnpm/dnpm-compose-bwhc.yml +++ b/dnpm/dnpm-compose-bwhc.yml @@ -13,6 +13,8 @@ services: BACKEND_HOSTNAME: localhost BACKEND_PORT: 9000 DNPM_BWHC_FRONTEND_ZIP: ${DNPM_BWHC_FRONTEND_ZIP} + HTTP_PROXY: ${http_proxy} + HTTPS_PROXY: ${https_proxy} ports: - 3000:3000 environment: diff --git a/dnpm/origin/Frontend.Dockerfile b/dnpm/origin/Frontend.Dockerfile index 60f7d3d..1d4bb30 100644 --- a/dnpm/origin/Frontend.Dockerfile +++ b/dnpm/origin/Frontend.Dockerfile @@ -17,6 +17,9 @@ ARG BACKEND_PROTOCOL=http ARG BACKEND_HOSTNAME=localhost ARG BACKEND_PORT=8080 +ARG HTTP_PROXY="" +ARG HTTPS_PROXY="" + ADD ${DNPM_BWHC_FRONTEND_ZIP} / RUN unzip $(basename ${DNPM_BWHC_FRONTEND_ZIP}) && rm $(basename ${DNPM_BWHC_FRONTEND_ZIP})