summaryrefslogtreecommitdiffstats
path: root/src/main/docker
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-09-05 18:25:59 +0200
committersebdet <sebastien.determe@intl.att.com>2019-09-06 14:57:12 +0200
commit101193d07d757ce299c34fc61ea37b416138bf85 (patch)
treee2be9cd5b5d72ad8cfc272d43faaa75750f75586 /src/main/docker
parent3c86358f306e61bcc7d8f3143977a55faa0f4e62 (diff)
Draft of React test
Reworking the react test with Jest & Enzyme + coverage Issue-ID: CLAMP-425 Change-Id: If287e357f4afaf712587e21ef5e0cb26f8a46d4c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Diffstat (limited to 'src/main/docker')
-rw-r--r--src/main/docker/frontend/Dockerfile4
1 files changed, 2 insertions, 2 deletions
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