diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000000..2908508ca42 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu:trusty + +RUN apt-get update +RUN apt-get install -yq ruby ruby-dev build-essential +RUN gem install --no-ri --no-rdoc bundler +ADD Gemfile /app/Gemfile +ADD Gemfile.lock /app/Gemfile.lock +RUN cd /app; bundle install +ADD . /app +EXPOSE 4567 +WORKDIR /app +CMD ["bundle", "exec", "middleman", "server"] \ No newline at end of file