mirror of
https://github.com/moparisthebest/mailcatcher
synced 2024-08-13 17:03:45 -04:00
Add Dockerfile
This commit is contained in:
parent
eff638f920
commit
1ab18c821d
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM ubuntu:trusty
|
||||
MAINTAINER Paul Bowsher <paul.bowsher@gmail.com>
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y sqlite3 libsqlite3-dev git build-essential
|
||||
RUN apt-get install -y ruby-dev libssl-dev
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
RUN gem install bundler --no-ri --no-rdoc
|
||||
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
|
||||
RUN bundle install
|
||||
RUN bundle exec rake assets
|
||||
|
||||
EXPOSE 1025
|
||||
EXPOSE 1080
|
||||
|
||||
ENTRYPOINT ["bundle", "exec", "mailcatcher", "--ip", "0.0.0.0", "-f"]
|
Loading…
Reference in New Issue
Block a user