Working gateway

Change-Id: I8ca690fe9d1b7f8e20b438df1ddd48d6b2f99326
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..a4f1d03
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,24 @@
+# To build use: docker build -t xosproject/xos-nb-rest .
+# To run use: docker run -p 3000:3000 -d xosproject/xos-nb-rest
+
+FROM node:argon
+
+# Set environment variables
+ENV CODE_SOURCE .
+ENV CODE_DEST /var/www
+
+# Create app directory
+WORKDIR ${CODE_DEST}
+
+# Install app dependencies
+COPY ${CODE_SOURCE}/package.json ${CODE_DEST}
+RUN npm install --production
+
+# Bundle app source
+COPY ${CODE_SOURCE}/src ${CODE_DEST}/src
+
+# Create a folder for logs
+RUN mkdir ${CODE_DEST}/logs
+
+EXPOSE 3000
+CMD [ "npm", "start" ]
\ No newline at end of file