frankfurter/Dockerfile
2017-01-10 12:21:19 +00:00

10 lines
231 B
Docker

FROM ruby:2.4.0
RUN mkdir /app
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle install --without development test
ADD . /app
CMD ./wait-for-it.sh db:5432 -s -- unicorn -c /app/config/unicorn.rb