mailcatcher/Dockerfile

22 lines
486 B
Docker
Raw Normal View History

2014-08-28 11:08:57 -04:00
FROM ubuntu:trusty
MAINTAINER Paul Bowsher <paul.bowsher@gmail.com>
2015-01-15 11:22:47 -05:00
RUN apt-get update && \
apt-get install -y sqlite3 libsqlite3-dev git build-essential && \
apt-get install -y ruby-dev libssl-dev && \
apt-get install -y nodejs && \
apt-get clean && \
gem install bundler --no-ri --no-rdoc
2014-08-28 11:08:57 -04:00
ADD . /app
WORKDIR /app
RUN bundle install
RUN bundle exec rake assets
EXPOSE 1025
EXPOSE 1080
ENTRYPOINT ["bundle", "exec", "mailcatcher", "-f"]
CMD ["--ip", "0.0.0.0"]