Skip to content

Instantly share code, notes, and snippets.

@jamesnesfield
Last active August 29, 2015 14:05
Show Gist options
  • Select an option

  • Save jamesnesfield/0bf5059c48bd0803f9d1 to your computer and use it in GitHub Desktop.

Select an option

Save jamesnesfield/0bf5059c48bd0803f9d1 to your computer and use it in GitHub Desktop.

Revisions

  1. jamesnesfield renamed this gist Aug 27, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.txt → Dockerfile
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    //from https://github.com/shykes/vr_node_example/blob/master/Dockerfile

    from heroku/heroku-buildpack-nodejs
    maintainer Solomon Hykes <[email protected]>
    add . /app
  2. jamesnesfield created this gist Aug 27, 2014.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    from heroku/heroku-buildpack-nodejs
    maintainer Solomon Hykes <[email protected]>
    add . /app
    run /buildpack/bin/compile /app /tmp
    cmd ["sh", "-c", "PORT=5000 /app/bin/node /app/web.js"]
    expose 5000