-
Notifications
You must be signed in to change notification settings - Fork 574
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Bowsher
committed
Aug 28, 2014
1 parent
eff638f
commit 1ab18c8
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |