Snippets

Nick Garanko Add version

Created by Nick Garanko

File snippet.txt Added

  • Ignore whitespace
  • Hide word diff
+# locally
+cd ~/Projects/DockerBolo
+hg clone ssh://hg@bitbucket.org/rubic/bolo
+
+
+# And the Dockerfile
+
+FROM ubuntu:14.04
+
+MAINTAINER Vidul Petrov "vidul.petrov@gmail.com"
+
+RUN apt-get update
+RUN apt-get install -y nodejs npm
+RUN ln -sf /usr/bin/nodejs /usr/bin/node
+
+RUN npm install -g cordova ionic@1.1.0
+ADD bolo /bolo
+RUN cd /bolo/apps/Bolo && npm install
+
+ENV PORT_HTTP 8100
+ENV PORT_RELOAD 8200
+
+EXPOSE $PORT_HTTP
+EXPOSE $PORT_RELOAD
+
+ENTRYPOINT cd /bolo/apps/Bolo && ionic serve -b -p $PORT_HTTP -r $PORT_RELOAD
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.