added Dockerfile

This commit is contained in:
fermayo 2014-09-04 12:59:30 +02:00 committed by Robert Lord
parent ed5fa1b75c
commit f00be01caf

12
Dockerfile Normal file
View file

@ -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"]