Update version of node base image
[appc/deployment.git] / cdt / src / main / docker / Dockerfile
index 514ddba..8df5c02 100644 (file)
 # ============LICENSE_END============================================
 
 # Base Alpine with added packages needed for ONAP
-FROM nginx:1.15.9-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
-COPY nginx.conf /etc/nginx/nginx.conf
+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
+