Skip to content

Instantly share code, notes, and snippets.

@thaJeztah
Created January 15, 2015 16:18
Show Gist options
  • Save thaJeztah/1d61ab063ee583345670 to your computer and use it in GitHub Desktop.
Save thaJeztah/1d61ab063ee583345670 to your computer and use it in GitHub Desktop.
Alternative Dockerfile
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/*
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