Commit 018a6939 authored by Robert Lord's avatar Robert Lord

Merge pull request #385 from agonzalezro/docker-fix

Use base ruby image in Dockerfile & fix watcher
parents e9cfc6bf 2618c77d
FROM ubuntu:wily FROM ruby:2.2.3-onbuild
RUN ln -s /usr/src/app /app # Deprecated
RUN apt-get update
RUN apt-get install -yq ruby ruby-dev build-essential git nodejs
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 EXPOSE 4567
WORKDIR /app CMD ["bundle", "exec", "middleman", "server", "--force-polling"]
CMD ["bundle", "exec", "middleman", "server"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment