summaryrefslogtreecommitdiffstats
path: root/sparkybe-onap-application/src/main/docker
diff options
context:
space:
mode:
authorda490c <dave.adams@amdocs.com>2018-03-28 14:31:48 -0400
committerda490c <dave.adams@amdocs.com>2018-03-28 14:41:07 -0400
commitb505658d523507b2aa8eec564b599ce1e2b1956a (patch)
tree62684f7df224986540506f798a3cb868a0a458eb /sparkybe-onap-application/src/main/docker
parenta0727ffb7ee413d56f0b969c8f47861510ee8d98 (diff)
Adding support for Spring-Boot SSL
Issue-ID: AAI-599 Change-Id: I55ea44c3af3631b9ff3ae72e65f663870a199973 Signed-off-by: da490c <dave.adams@amdocs.com>
Diffstat (limited to 'sparkybe-onap-application/src/main/docker')
-rw-r--r--sparkybe-onap-application/src/main/docker/Dockerfile21
1 files changed, 14 insertions, 7 deletions
diff --git a/sparkybe-onap-application/src/main/docker/Dockerfile b/sparkybe-onap-application/src/main/docker/Dockerfile
index d98110c..f5e620c 100644
--- a/sparkybe-onap-application/src/main/docker/Dockerfile
+++ b/sparkybe-onap-application/src/main/docker/Dockerfile
@@ -16,15 +16,22 @@ RUN export JAVA_HOME
# Build up the deployment folder structure
RUN mkdir -p $MICRO_HOME
RUN mkdir -p $BIN_HOME
+RUN mkdir -p $MICRO_HOME/lib/
+RUN mkdir -p $MICRO_HOME/static/services/aai/webapp/
-# copy swm/package/nix/dist_files/appl/sparky-be/${project.version}/ $MICRO_HOME/
-RUN ls -la $BIN_HOME/
+ADD *.jar $MICRO_HOME/lib/
+ADD scripts/* $MICRO_HOME/bin/
+COPY static/ $MICRO_HOME/static/services/aai/webapp/
+
+RUN chmod 755 $MICRO_HOME/bin/*
+RUN chmod 755 $MICRO_HOME/lib/*
+RUN chmod 755 $MICRO_HOME/static/*
+
+#RUN ls -la $BIN_HOME/
-#RUN chmod 755 $BIN_HOME/*
RUN ln -s /logs $MICRO_HOME/logs
EXPOSE 8000 8000
-
-CMD tail -F -n0 /etc/hosts
-#CMD /opt/app/sparky/bin/start.sh
-#CMD top
+EXPOSE 9517 9517
+
+CMD ["/opt/app/sparky/bin/start.sh"] \ No newline at end of file