aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/frontend/Dockerfile
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-08-27 17:56:04 -0700
committersebdet <sebastien.determe@intl.att.com>2019-08-28 15:59:05 +0200
commit1e86592650fc695615e0fa34c947b32693d03466 (patch)
treee970e02d2cb56c94276971a271f028db9471f0ac /src/main/docker/frontend/Dockerfile
parent56f5c144cfff229235817feda9baf4036b22156a (diff)
Fix frontend docker
Fix the frontend docker in Nginx with https for backend in https as well Issue-ID: CLAMP-486 Change-Id: I33fd89289618affa5e734c80991aaefece31309e Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/main/docker/frontend/Dockerfile')
-rw-r--r--src/main/docker/frontend/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/docker/frontend/Dockerfile b/src/main/docker/frontend/Dockerfile
index 8c755b03..8cdad308 100644
--- a/src/main/docker/frontend/Dockerfile
+++ b/src/main/docker/frontend/Dockerfile
@@ -46,7 +46,9 @@ RUN mkdir /var/log/onap
RUN chmod a+rwx /var/log/onap
COPY --from=build /app/build /usr/share/nginx/html
+COPY --from=build /app/ssl /etc/ssl
RUN rm /etc/nginx/conf.d/default.conf
-COPY onap-clamp-frontend/nginx/nginx.conf /etc/nginx/conf.d
-EXPOSE 80
+#COPY onap-clamp-frontend/nginx/nginx.conf /etc/nginx/conf.d
+COPY nginx/nginx.conf /etc/nginx/conf.d
+EXPOSE 443
CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file