aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2017-04-06 13:59:25 +0800
committerkumavis <aaron@kumavis.me>2017-04-06 13:59:25 +0800
commit4b8324620e4f850b1674692cf8c45a4ca70101b4 (patch)
tree92f754486e956a1984ae6a65031031d8c5844654 /Dockerfile
parenta6c6ecf2759d300f660da4e9058b29a0f5f07a8b (diff)
downloadtangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar.gz
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar.bz2
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar.lz
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar.xz
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.tar.zst
tangerine-wallet-browser-4b8324620e4f850b1674692cf8c45a4ca70101b4.zip
mascara - ready to deploy via docker
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 000000000..d06f5377b
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,22 @@
+FROM node:6
+MAINTAINER kumavis
+
+# setup app dir
+RUN mkdir -p /www/
+WORKDIR /www/
+
+# install dependencies
+COPY ./package.json /www/package.json
+RUN npm install
+
+# copy over app dir
+COPY ./ /www/
+
+# run tests
+# RUN npm test
+
+# build app
+RUN npm run dist
+
+# start server
+CMD node mascara/example/server.js