Set HTTP(S) Proxy for bwhc frontend build
This commit is contained in:
parent
e11b24bf70
commit
b6f0cd7a13
|
@ -13,6 +13,8 @@ services:
|
||||||
BACKEND_HOSTNAME: localhost
|
BACKEND_HOSTNAME: localhost
|
||||||
BACKEND_PORT: 9000
|
BACKEND_PORT: 9000
|
||||||
DNPM_BWHC_FRONTEND_ZIP: ${DNPM_BWHC_FRONTEND_ZIP}
|
DNPM_BWHC_FRONTEND_ZIP: ${DNPM_BWHC_FRONTEND_ZIP}
|
||||||
|
HTTP_PROXY: ${http_proxy}
|
||||||
|
HTTPS_PROXY: ${https_proxy}
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
environment:
|
environment:
|
||||||
|
|
|
@ -17,6 +17,9 @@ ARG BACKEND_PROTOCOL=http
|
||||||
ARG BACKEND_HOSTNAME=localhost
|
ARG BACKEND_HOSTNAME=localhost
|
||||||
ARG BACKEND_PORT=8080
|
ARG BACKEND_PORT=8080
|
||||||
|
|
||||||
|
ARG HTTP_PROXY=""
|
||||||
|
ARG HTTPS_PROXY=""
|
||||||
|
|
||||||
ADD ${DNPM_BWHC_FRONTEND_ZIP} /
|
ADD ${DNPM_BWHC_FRONTEND_ZIP} /
|
||||||
RUN unzip $(basename ${DNPM_BWHC_FRONTEND_ZIP}) && rm $(basename ${DNPM_BWHC_FRONTEND_ZIP})
|
RUN unzip $(basename ${DNPM_BWHC_FRONTEND_ZIP}) && rm $(basename ${DNPM_BWHC_FRONTEND_ZIP})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue