Update version of node base image
[appc/deployment.git] / cdt / src / main / docker / Dockerfile
index 26efda4..8df5c02 100644 (file)
 # ============LICENSE_END============================================
 
 # Base Alpine with added packages needed for ONAP
-FROM node:10.15.3-alpine
+FROM node:13.8-alpine
 MAINTAINER APP-C Team (appc@lists.openecomp.org)
 
-COPY config-design-tool /opt/cdt
-COPY startCdt.sh /opt/startCdt.sh
-COPY cert /opt/cert
-RUN mkdir /opt/cdt/logs
+USER root
+COPY --chown=node:node config-design-tool /opt/cdt
+COPY --chown=node:node startCdt.sh /opt/startCdt.sh
+COPY --chown=node:node cert /opt/cert
 RUN npm install express --save
+USER node
+RUN mkdir /opt/cdt/logs
+