Ultra simple local way of running mailcatcher
377
This is the Dockerfile to run a simple mailcatcher instance locally. (You should stop and restart this occasionally as mailcatcher leaks memory like a beast in my experience
FROM fullfatthings/railsoncontrol:0.3
MAINTAINER Stewart Robinson <[email protected]>
WORKDIR /var/www
ADD Gem* .
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install libsqlite3-dev
RUN bundle install
EXPOSE 1080 1025
ENTRYPOINT bundle exec mailcatcher -f --http-ip=0.0.0.0 --smtp-ip=0.0.0.0
docker pull fullfatthings/mailcatcher:0.4