Update version of node base image
[appc/deployment.git] / cdt / src / main / docker / Dockerfile
index caa6ff1..8df5c02 100644 (file)
 #
 # ============LICENSE_END============================================
 
-# Base ubuntu with added packages needed for ONAP
-FROM httpd
+# Base Alpine with added packages needed for ONAP
+FROM node:13.8-alpine
 MAINTAINER APP-C Team (appc@lists.openecomp.org)
 
-COPY config-design-tool /usr/local/apache2/htdocs/
+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
 
-COPY startCdt.sh /opt