Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bowsher committed Aug 28, 2014
1 parent eff638f commit 1ab18c8
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ubuntu:trusty
MAINTAINER Paul Bowsher <paul.bowsher@gmail.com>

RUN apt-get update
RUN apt-get install -y sqlite3 libsqlite3-dev git build-essential
RUN apt-get install -y ruby-dev libssl-dev
RUN apt-get install -y nodejs

RUN gem install bundler --no-ri --no-rdoc

ADD . /app
WORKDIR /app

RUN bundle install
RUN bundle exec rake assets

EXPOSE 1025
EXPOSE 1080

ENTRYPOINT ["bundle", "exec", "mailcatcher", "--ip", "0.0.0.0", "-f"]

0 comments on commit 1ab18c8

Please sign in to comment.