mailcatcher/Dockerfile

27 lines
496 B
Docker
Raw Normal View History

2014-08-28 11:08:57 -04:00
FROM ubuntu:trusty
MAINTAINER Paul Bowsher <paul.bowsher@gmail.com>
RUN apt-get update && apt-get install -y -q \
build-essential \
git \
libssl-dev \
libsqlite3-dev \
nodejs \
ruby-dev \
sqlite3 \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/* \
&& 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"]