aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/Dockerfile
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2019-01-08 21:29:45 +0800
committerFabio Berger <me@fabioberger.com>2019-01-08 21:29:45 +0800
commit0bcb81d3a918fbcf71d68f42fa661d884d5d74cf (patch)
tree9f7b0ded4f5dab19849a341feef596fc3a80ad35 /packages/order-watcher/Dockerfile
parent040b402b6d558d13f2f4e032297b6723cdf2aafe (diff)
downloaddexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar.gz
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar.bz2
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar.lz
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar.xz
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.tar.zst
dexon-sol-tools-0bcb81d3a918fbcf71d68f42fa661d884d5d74cf.zip
Create server entry point and Dockerfile for OrderWatcher
Diffstat (limited to 'packages/order-watcher/Dockerfile')
-rw-r--r--packages/order-watcher/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/order-watcher/Dockerfile b/packages/order-watcher/Dockerfile
new file mode 100644
index 000000000..3ffa1b72f
--- /dev/null
+++ b/packages/order-watcher/Dockerfile
@@ -0,0 +1,13 @@
+FROM node
+
+WORKDIR /order-watcher
+
+COPY package.json .
+RUN npm i
+RUN npm install forever -g
+
+COPY . .
+
+EXPOSE 8080
+
+CMD ["forever", "./lib/src/server.js"]