From a8af9621cd5be96dc802710078bae90400f6792a Mon Sep 17 00:00:00 2001 From: danielhanrahan Date: Mon, 30 Aug 2021 17:35:18 +0100 Subject: Make gui-pdp-monitoring work in Docker image Serve PDP Monitoring HTML using nginx in Docker image Don't serve HTML content from PdpMonitoringServer Remove unused dependencies in gui-pdp-monitoring Add proxy setting for local dev testing with npm start Issue-ID: POLICY-3603 Signed-off-by: danielhanrahan Change-Id: I9a4c2b250a1f0460892a367a3b5bbb59e0e92411 --- packages/policy-gui-docker/src/main/docker/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/policy-gui-docker/src/main/docker/Dockerfile') diff --git a/packages/policy-gui-docker/src/main/docker/Dockerfile b/packages/policy-gui-docker/src/main/docker/Dockerfile index e58c9ea..8820139 100644 --- a/packages/policy-gui-docker/src/main/docker/Dockerfile +++ b/packages/policy-gui-docker/src/main/docker/Dockerfile @@ -40,7 +40,8 @@ COPY /maven/gui-pdp-monitoring-uber.jar ./lib/ COPY nginx/nginx.conf /etc/nginx/nginx.conf COPY nginx/default.conf.template /etc/nginx/templates/default.conf.template COPY nginx/index.html /usr/share/nginx/html/ -ADD /maven/gui-clamp.tar.gz /usr/share/nginx/html/ +ADD /maven/gui-clamp-html.tar.gz /usr/share/nginx/html/ +ADD /maven/gui-pdp-monitoring-html.tar.gz /usr/share/nginx/html/ RUN rm /etc/nginx/conf.d/default.conf && \ ln -sf /dev/stdout /var/log/nginx/access.log && \ ln -sf /dev/stderr /var/log/nginx/error.log && \ -- cgit 1.2.3-korg