Skip to content

Commit

Permalink
Merge pull request #43 from tyrcho/master
Browse files Browse the repository at this point in the history
fix #41 + add helper scripts
  • Loading branch information
rchatley committed May 11, 2015
2 parents 35d0bfe + 411525b commit 37ea1bc
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:1.9-onbuild

EXPOSE 3000
CMD ["ruby" "web_server.rb"]
CMD /usr/local/bin/ruby web_server.rb
3 changes: 3 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

docker build -t extreme_startup .
3 changes: 3 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

docker run -d -p 80:3000 extreme_startup
3 changes: 3 additions & 0 deletions warmup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

docker run -d -p 80:3000 -e WARMUP=1 extreme_startup

0 comments on commit 37ea1bc

Please sign in to comment.