Set HTTP(S) Proxy for bwhc frontend build

This commit is contained in:
Tobias Kussel 2022-11-09 10:43:08 +00:00
parent e11b24bf70
commit b6f0cd7a13
2 changed files with 5 additions and 0 deletions

View File

@ -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:

View File

@ -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})