Proxying right in FE config

Change-Id: I745f756f583a874284478cf07e3d9b3f99fe9dcf
diff --git a/Dockerfile b/Dockerfile
index c09541a..3fef3f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -16,18 +16,28 @@
 RUN ./install_node.sh
 RUN apt-get install -y nodejs
 
-# Add the app
-COPY ${CODE_SOURCE} ${CODE_DEST}
+# Add the app deps
+COPY ${CODE_SOURCE}/package.json ${CODE_DEST}/package.json
+COPY ${CODE_SOURCE}/typings.json ${CODE_DEST}/typings.json
 
 # Install Deps
 WORKDIR ${CODE_DEST}
-RUN npm install 
+RUN npm install
 RUN npm run typings
 
-# Override nginx configutaion
+# Create folder for logs
 RUN mkdir -p /var/log/nginx/log
-RUN mv ${CODE_SOURCE}/nginx.conf /etc/nginx/conf.d/default.conf
 
 # Build the app
 EXPOSE 4000
-RUN npm run build
\ No newline at end of file
+COPY ${CODE_SOURCE}/conf ${CODE_DEST}/conf
+COPY ${CODE_SOURCE}/gulp_tasks ${CODE_DEST}/gulp_tasks
+COPY ${CODE_SOURCE}/src ${CODE_DEST}/src
+COPY ${CODE_SOURCE}/gulpfile.js ${CODE_DEST}/gulpfile.js
+COPY ${CODE_SOURCE}/tsconfig.json ${CODE_DEST}/tsconfig.json
+COPY ${CODE_SOURCE}/tslint.json ${CODE_DEST}/tslint.json
+RUN npm run build
+
+# Override nginx configutaion
+COPY ${CODE_SOURCE}/nginx.conf ${CODE_DEST}/nginx.conf
+RUN mv ${CODE_SOURCE}/nginx.conf /etc/nginx/conf.d/default.conf