aboutsummaryrefslogtreecommitdiff
path: root/mi-gateway/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'mi-gateway/Dockerfile')
-rw-r--r--mi-gateway/Dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/mi-gateway/Dockerfile b/mi-gateway/Dockerfile
new file mode 100644
index 0000000..d657cc3
--- /dev/null
+++ b/mi-gateway/Dockerfile
@@ -0,0 +1,14 @@
+FROM node:8
+
+WORKDIR /opt
+
+COPY package*.json ./
+
+RUN npm install
+# If you are building your code for production
+# RUN npm ci --only=production
+
+COPY . .
+
+EXPOSE 8080
+CMD [ "npm", "start" ]