summaryrefslogtreecommitdiffstats
path: root/healthcheck-container/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'healthcheck-container/Dockerfile')
-rw-r--r--healthcheck-container/Dockerfile8
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"]