Code Review
/
appc
/
deployment.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Update version of node base image
[appc/deployment.git]
/
cdt
/
src
/
main
/
docker
/
Dockerfile
diff --git
a/cdt/src/main/docker/Dockerfile
b/cdt/src/main/docker/Dockerfile
index
26efda4
..
8df5c02
100644
(file)
--- a/
cdt/src/main/docker/Dockerfile
+++ b/
cdt/src/main/docker/Dockerfile
@@
-20,11
+20,14
@@
# ============LICENSE_END============================================
# Base Alpine with added packages needed for ONAP
# ============LICENSE_END============================================
# Base Alpine with added packages needed for ONAP
-FROM node:1
0.15.3
-alpine
+FROM node:1
3.8
-alpine
MAINTAINER APP-C Team (appc@lists.openecomp.org)
MAINTAINER APP-C Team (appc@lists.openecomp.org)
-
COPY config-design-tool /opt/cd
t
-COPY
startCdt.sh /opt/startCdt.sh
-COPY
cert /opt/cert
-RUN mkdir /opt/cdt/logs
+
USER roo
t
+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
RUN npm install express --save
+USER node
+RUN mkdir /opt/cdt/logs
+