aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-04-03 21:34:14 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-04-03 21:34:14 +0100
commit2122b076127a09492f0ac51092ff7a7e5d465d00 (patch)
treef8e83ea3ed74a52afad53a1869d4b42a2698c94f /Dockerfile
parent49e9c289252147fbc49689929237ff0199f0d6a8 (diff)
downloadtplink-energy-monitor-2122b076127a09492f0ac51092ff7a7e5d465d00.tar.xz
tplink-energy-monitor-2122b076127a09492f0ac51092ff7a7e5d465d00.zip
Add dockerfile and update readme
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..f2371e5
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,6 @@
+FROM node:8-alpine
+WORKDIR /opt/tplink-monitor
+COPY . .
+RUN npm install
+EXPOSE 3000
+CMD ["npm", "start"] \ No newline at end of file