aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocker-build.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker-build.sh b/docker-build.sh
index c1b7f9f..c0e60a8 100755
--- a/docker-build.sh
+++ b/docker-build.sh
@@ -65,6 +65,11 @@ cd \$WORKDIR
echo 10.0.4.102 \$(hostname).dcae.simpledemo.openecomp.org >> /etc/hosts
+if [ ! -e config ]; then
+ echo no configuration directory setup: \$WORKDIR/config
+ exit 1
+fi
+
exec java -cp ./config:./lib:./lib/*:./bin \$MAIN \$ACTION > logs/manager.out 2>logs/manager.err
EOF
@@ -97,7 +102,7 @@ COPY opt /opt
EXPOSE 9999
-CMD [ '/opt/app/manager/start-manager.sh' ]
+CMD [ "/opt/app/manager/start-manager.sh" ]
EOF
#