GUI starting point

Change-Id: Ic7d23bfce0307c4b7cfc9fad9fb5834286ee195c
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..e0551dd
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,28 @@
+# To build use: docker build -t xosproject/xos-gui .
+# To run use: docker run -p 80:80 -d xosproject/xos-gui
+
+FROM nginx
+
+# Set environment vars
+ENV CODE_SOURCE .
+ENV CODE_DEST /var/www
+ENV VHOST /usr/share/nginx/html
+
+# Install nodeJs
+RUN apt-get update
+RUN apt-get install curl git -y
+RUN curl -sL https://deb.nodesource.com/setup_4.x > install_node.sh
+RUN chmod a+x install_node.sh
+RUN ./install_node.sh
+RUN apt-get install -y nodejs
+
+# Add the app
+COPY ${CODE_SOURCE} ${CODE_DEST}
+
+# Build the app
+WORKDIR ${CODE_DEST}
+RUN npm install 
+RUN npm run build
+
+# Move the builded code to nginx vhost
+RUN mv ${CODE_DEST}/dist/* ${VHOST}
\ No newline at end of file