From 5b788bc3677e4792ae3c99ffdcf40a8c0b3eb820 Mon Sep 17 00:00:00 2001 From: pataquets Date: Thu, 14 Apr 2016 21:07:57 +0200 Subject: [PATCH] Initial version Dockerfile. --- Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..fca93c87 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,10 @@ +FROM node:onbuild + +RUN \ + cp -v exampleConfig.js config.js && \ + sed -i 's/graphite.example.com/graphite/' config.js + +EXPOSE 8125/udp +EXPOSE 8126 + +ENTRYPOINT [ "node", "stats.js", "config.js" ]