mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-21 18:42:29 +01:00
Invoke bundler
This commit is contained in:
parent
85c241d756
commit
60ee39f1c2
@ -8,4 +8,4 @@ RUN gem install bundler
|
||||
RUN bundle config set without "development test"
|
||||
RUN bundle install --jobs=8
|
||||
ADD . /app
|
||||
CMD ["unicorn", "-c", "./config/unicorn.rb"]
|
||||
CMD ["bundle", "exec", "unicorn", "-c", "./config/unicorn.rb"]
|
||||
|
@ -5,7 +5,7 @@ services:
|
||||
volumes:
|
||||
- data:/var/lib/postgresql/data
|
||||
web:
|
||||
command: unicorn -c config/unicorn.rb
|
||||
command: bundle exec unicorn -c config/unicorn.rb
|
||||
entrypoint: bin/wait-for-it.sh db:5432 -s --
|
||||
environment:
|
||||
DATABASE_URL: postgres://postgres@db/postgres
|
||||
|
Loading…
Reference in New Issue
Block a user