mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
d74fefa9c9
- 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
10 lines
197 B
Docker
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
|