X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cdt%2Fsrc%2Fmain%2Fdocker%2FDockerfile;h=8df5c02ab1f970b55aade7e0dce943a33999037f;hb=981457eaf23722fe1d0a9d4c79eb716a37359f8a;hp=caa6ff11acdf82faa349a57dee52a4ca479207a2;hpb=27525d8cce704f03b28eb8833ac1533126ece7da;p=appc%2Fdeployment.git diff --git a/cdt/src/main/docker/Dockerfile b/cdt/src/main/docker/Dockerfile index caa6ff1..8df5c02 100644 --- a/cdt/src/main/docker/Dockerfile +++ b/cdt/src/main/docker/Dockerfile @@ -19,10 +19,15 @@ # # ============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