mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
cfbb4ac4ac
I'm moving my company's server to a private location now that I have sold the domain. While prepping for this, I've done some cleanup and also threw in changes I had lingering on my hard drive. - Run a single database query instead of two - Fold the gem into the app and use Ox instead of REXML - Simplify error handling logic - Relax throttling
10 lines
211 B
Docker
10 lines
211 B
Docker
FROM ruby:2.5.0
|
|
|
|
RUN mkdir /app
|
|
WORKDIR /app
|
|
ADD Gemfile /app/Gemfile
|
|
ADD Gemfile.lock /app/Gemfile.lock
|
|
RUN bundle install --jobs=8 --without development
|
|
ADD . /app
|
|
CMD ["unicorn", "-c", "./config/unicorn.rb"]
|