Permalink
Browse files

Dockernize

  • Loading branch information...
massat committed Feb 24, 2017
1 parent 259d0af commit 7346070a6d9633182ac3e642d1aac3bf7665f089
Showing with 12 additions and 0 deletions.
  1. +12 −0 Dockerfile
View
@@ -0,0 +1,12 @@
+FROM ruby:2.4.0-alpine
+
+RUN mkdir /app
+WORKDIR /app
+
+ADD Gemfile /app
+RUN bundle install
+ADD . /app
+
+EXPOSE 9292
+ENTRYPOINT [ "bundle", "exec" ]
+CMD [ "rackup", "--host", "0.0.0.0" ]

0 comments on commit 7346070

Please sign in to comment.