summaryrefslogtreecommitdiffstats
path: root/src/main/docker/Dockerfile
diff options
context:
space:
mode:
authorTait,Trevor(rt0435) <rtait@amdocs.com>2018-10-03 15:08:34 -0400
committerMohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com>2018-10-09 15:36:22 -0400
commita2423cf3ba54da34bb865befd44d56bbb925a94b (patch)
tree6d4ac22b24f3f33087edc3e7c077ef3d6ad96469 /src/main/docker/Dockerfile
parent2fb09922810847108464ba52e5b68907d5176e7a (diff)
POMBA: SDNC Context Builder
Initial code for POMBA: SDNC Context Builder Issue-ID: LOG-520 Change-Id: I6b06561b9050acc83b0c2b18b21c94f0f13f63e4 Signed-off-by: Tait,Trevor(rt0435) <rtait@amdocs.com>
Diffstat (limited to 'src/main/docker/Dockerfile')
-rw-r--r--src/main/docker/Dockerfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
new file mode 100644
index 0000000..04f932e
--- /dev/null
+++ b/src/main/docker/Dockerfile
@@ -0,0 +1,19 @@
+FROM anapsix/alpine-java:jre8
+
+ARG MICROSERVICE_HOME=/opt/app/
+
+# Build up the deployment folder structure
+RUN mkdir -p $MICROSERVICE_HOME
+RUN mkdir -p $MICROSERVICE_HOME/config/
+RUN mkdir -p $MICROSERVICE_HOME/lib/
+RUN mkdir -p $MICROSERVICE_HOME/bin/
+
+ADD pomba-sdnc-context-builder.jar $MICROSERVICE_HOME/lib/
+ADD startService.sh $MICROSERVICE_HOME/bin/
+COPY config/ $MICROSERVICE_HOME/config/
+
+RUN chmod 755 $MICROSERVICE_HOME/config/*
+RUN chmod 755 $MICROSERVICE_HOME/lib/*
+RUN chmod 755 $MICROSERVICE_HOME/bin/*
+
+CMD ["/opt/app/bin/startService.sh"] \ No newline at end of file