From 101193d07d757ce299c34fc61ea37b416138bf85 Mon Sep 17 00:00:00 2001 From: sebdet Date: Thu, 5 Sep 2019 18:25:59 +0200 Subject: Draft of React test Reworking the react test with Jest & Enzyme + coverage Issue-ID: CLAMP-425 Change-Id: If287e357f4afaf712587e21ef5e0cb26f8a46d4c Signed-off-by: sebdet --- src/main/docker/frontend/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/docker/frontend') diff --git a/src/main/docker/frontend/Dockerfile b/src/main/docker/frontend/Dockerfile index 8cdad3088..279e94d50 100644 --- a/src/main/docker/frontend/Dockerfile +++ b/src/main/docker/frontend/Dockerfile @@ -22,7 +22,7 @@ ### # build environment -FROM node:12.4-alpine as build +FROM node:12.10.0-alpine as build WORKDIR /app #ENV PATH /app/node_modules/.bin:$PATH COPY onap-clamp-frontend/ /app/ @@ -48,7 +48,7 @@ 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 +RUN ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log COPY nginx/nginx.conf /etc/nginx/conf.d EXPOSE 443 CMD ["nginx", "-g", "daemon off;"] \ No newline at end of file -- cgit 1.2.3-korg