diff options
author | Prudence Au <prudence.au@amdocs.com> | 2018-08-16 21:17:16 -0400 |
---|---|---|
committer | Prudence Au <prudence.au@amdocs.com> | 2018-08-16 21:50:48 -0400 |
commit | 8d9044a5e2232776243f641cab1a8b90f26ff9ff (patch) | |
tree | 13ce6be1e3810d0459862c82a0af4cfb9750edf0 /src/main/docker/Dockerfile | |
parent | 3bc6eb063c86b8269e0d70f04510783e8d1fe474 (diff) |
Initial seed code submission
Change-Id: I66baf23256c39475f5e0031e387be2e6b872bf7b
Issue-ID: LOG-521
Signed-off-by: Prudence Au <prudence.au@amdocs.com>
Diffstat (limited to 'src/main/docker/Dockerfile')
-rw-r--r-- | src/main/docker/Dockerfile | 19 |
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..b8a58f8 --- /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-aai-context-builder.jar $MICROSERVICE_HOME/lib/ +COPY config/ $MICROSERVICE_HOME/config/ +ADD startService.sh $MICROSERVICE_HOME/bin/ + +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 |