diff options
author | Jack Lucas <jflucas@research.att.com> | 2018-04-20 13:22:05 +0000 |
---|---|---|
committer | Jack Lucas <jflucas@research.att.com> | 2018-04-20 13:22:58 +0000 |
commit | 2832ba2fbd0738bc900af5599253e2f3bfe02a70 (patch) | |
tree | 186a0d10a7fa0af1ca106c47fdcb58965750621b /healthcheck-container/Dockerfile | |
parent | 2add4828edf3ceb7ce60e511093dd4fc25e0bb45 (diff) |
Add healthcheck container for OOM
Change-Id: Ie4719a0e4705901fd9d0fa3504696fbefc6c704a
Issue-ID: DCAEGEN2-461
Signed-off-by: Jack Lucas <jflucas@research.att.com>
Diffstat (limited to 'healthcheck-container/Dockerfile')
-rw-r--r-- | healthcheck-container/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/healthcheck-container/Dockerfile b/healthcheck-container/Dockerfile new file mode 100644 index 0000000..d1b4231 --- /dev/null +++ b/healthcheck-container/Dockerfile @@ -0,0 +1,8 @@ +FROM node:8.11.1 +RUN mkdir -p /opt/app +COPY *.js /opt/app/ +COPY package.json /opt/app/ +WORKDIR /opt/app +RUN npm install --only=production +EXPOSE 80 +ENTRYPOINT ["/usr/local/bin/node", "healthcheck.js"] |