frankfurter/Dockerfile
Hakan Ensari d74fefa9c9 Improve docker setup
- Add .dockerignore
- Use version 3
- Move wait_for_it.sh to docker-compose.yml
- Persist db data
- Use nginx-proxy
- Use Letsencrypt in production
- Rate limit in production
2017-11-09 12:37:50 +00:00

10 lines
197 B
Docker

FROM ruby:2.4.1
RUN mkdir /app
WORKDIR /app
ADD Gemfile /app/Gemfile
ADD Gemfile.lock /app/Gemfile.lock
RUN bundle install --without development test
ADD . /app
CMD unicorn -c ./config/unicorn.rb