summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-01 12:02:40 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-01 12:02:40 +0200
commit392160fdbbb45a93ebc90d57577fb62227de4c5e (patch)
tree596f20239e7f8127397923e8c406cd41a970ecf7 /Dockerfile
parent74c975556c0e067e60f99fb96d64d973210bf786 (diff)
downloadcompiler-392160fdbbb45a93ebc90d57577fb62227de4c5e.tar.gz
compiler-392160fdbbb45a93ebc90d57577fb62227de4c5e.zip
rewrite in node
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..9c3debd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,9 @@
+FROM node:7.7-alpine
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+
+COPY . /usr/src/app
+RUN npm install && npm cache clean
+
+CMD ["node", "worker.js"]