Created
January 15, 2015 16:18
-
-
Save thaJeztah/1d61ab063ee583345670 to your computer and use it in GitHub Desktop.
Alternative Dockerfile
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
FROM ubuntu:trusty | |
MAINTAINER Paul Bowsher <[email protected]> | |
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/* | |
RUN gem install bundler --no-ri --no-rdoc | |
COPY . /app | |
WORKDIR /app | |
RUN bundle install | |
RUN bundle exec rake assets | |
EXPOSE 1025 1080 | |
ENTRYPOINT ["bundle", "exec", "mailcatcher", "--ip", "0.0.0.0", "-f"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment