mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-11-25 04:22:28 +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 config set without "development test"
|
||||||
RUN bundle install --jobs=8
|
RUN bundle install --jobs=8
|
||||||
ADD . /app
|
ADD . /app
|
||||||
CMD ["unicorn", "-c", "./config/unicorn.rb"]
|
CMD ["bundle", "exec", "unicorn", "-c", "./config/unicorn.rb"]
|
||||||
|
@ -5,7 +5,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- data:/var/lib/postgresql/data
|
- data:/var/lib/postgresql/data
|
||||||
web:
|
web:
|
||||||
command: unicorn -c config/unicorn.rb
|
command: bundle exec unicorn -c config/unicorn.rb
|
||||||
entrypoint: bin/wait-for-it.sh db:5432 -s --
|
entrypoint: bin/wait-for-it.sh db:5432 -s --
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: postgres://postgres@db/postgres
|
DATABASE_URL: postgres://postgres@db/postgres
|
||||||
|
Loading…
Reference in New Issue
Block a user