From 00bb4faa4b14d933a2a81c7344416610288b10c8 Mon Sep 17 00:00:00 2001
From: Petr OspalĂ˝
Date: Mon, 17 Jun 2019 09:33:33 +0200
Subject: Fix dgbuilder image runtime dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Move npm install into docker build phase, where it should be. Due to the
nature of the upstream project (node-RED) there can be still some
runtime dependencies - it depends on the use-case.
Issue-ID: CCSDK-1117
Signed-off-by: Petr OspalĂ˝
Change-Id: I2abda871b880d8323de186dba04f2d1d92ab7622
---
dgbuilder-docker/src/main/docker/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'dgbuilder-docker')
diff --git a/dgbuilder-docker/src/main/docker/Dockerfile b/dgbuilder-docker/src/main/docker/Dockerfile
index c1fd8dbd..9acb7a5c 100644
--- a/dgbuilder-docker/src/main/docker/Dockerfile
+++ b/dgbuilder-docker/src/main/docker/Dockerfile
@@ -10,7 +10,7 @@ COPY --chown=dgbuilder:dgbuilder opt /opt
WORKDIR /opt/onap/ccsdk/dgbuilder
# Set the proxy if needed
# RUN npm config set proxy http://your.proxy.com:8080
-#RUN npm install
+RUN cd /opt/onap/ccsdk/dgbuilder/ && npm install
#ENTRYPOINT /bin/bash /opt/onap/ccsdk/dgbuilder/start sdnc1.0
--
cgit 1.2.3-korg