Permalink
Browse files

Merge pull request #26 from hleb-rubanau/dockerize

Dockerization
  • Loading branch information...
2 parents 3d3f088 + 4cabc1f commit 0cd6b249db26d73854b720751ac951f55f9fc5b8 @obfuscurity committed on GitHub Sep 6, 2016
Showing with 15 additions and 0 deletions.
  1. +3 −0 .dockerignore
  2. +12 −0 Dockerfile
View
@@ -0,0 +1,3 @@
+.git
+docker-compose.yml
+Gemfile.lock
View
@@ -0,0 +1,12 @@
+FROM ruby:2.3
+
+RUN mkdir -p /usr/src/app
+WORKDIR /usr/src/app
+
+COPY Gemfile /usr/src/app/
+RUN bundle install
+
+COPY . /usr/src/app
+
+EXPOSE 3000
+CMD ["rackup", "-o", "0.0.0.0", "-p", "3000", "-s", "thin" ]

0 comments on commit 0cd6b24

Please sign in to comment.