diff options
Diffstat (limited to 'aai-traversal/src/main/docker/Dockerfile')
-rw-r--r-- | aai-traversal/src/main/docker/Dockerfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/aai-traversal/src/main/docker/Dockerfile b/aai-traversal/src/main/docker/Dockerfile index 3d25170..bbe0aa3 100644 --- a/aai-traversal/src/main/docker/Dockerfile +++ b/aai-traversal/src/main/docker/Dockerfile @@ -1,4 +1,4 @@ -FROM aaionap/aai-common:1.2.0 +FROM aaionap/aai-common:1.3.0 # Add the proper files into the docker image from your build @@ -8,6 +8,7 @@ WORKDIR /opt/app/aai-traversal # 8446 is the important one to be used EXPOSE 8446 + HEALTHCHECK --interval=40s --timeout=10s --retries=3 CMD nc -z -v localhost 8446 || exit 1 ENTRYPOINT ["/bin/bash", "/opt/app/aai-traversal/docker-entrypoint.sh"] @@ -16,6 +17,9 @@ RUN mkdir -p /opt/aaihome/aaiadmin /opt/aai/logroot/AAI-GQ VOLUME /opt/aai/logroot/AAI-GQ +VOLUME /tmp +VOLUME /opt/tools + COPY /maven/aai-traversal/ . ENV AAI_BUILD_VERSION @aai.docker.version@ |