mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
Use or infer from .ruby-version
This commit is contained in:
parent
6feaa0c372
commit
93d1ec7d22
@ -1,7 +1,4 @@
|
|||||||
.*
|
.*
|
||||||
|
!.ruby-version
|
||||||
Dockerfile
|
Dockerfile
|
||||||
LICENSE
|
|
||||||
Procfile
|
|
||||||
spec
|
spec
|
||||||
*.md
|
|
||||||
*.yml
|
|
||||||
|
@ -8,4 +8,3 @@ require:
|
|||||||
|
|
||||||
AllCops:
|
AllCops:
|
||||||
NewCops: enable
|
NewCops: enable
|
||||||
TargetRubyVersion: 2.7
|
|
||||||
|
@ -4,6 +4,7 @@ RUN mkdir /app
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ADD Gemfile /app/Gemfile
|
ADD Gemfile /app/Gemfile
|
||||||
ADD Gemfile.lock /app/Gemfile.lock
|
ADD Gemfile.lock /app/Gemfile.lock
|
||||||
|
ADD .ruby-version /app/.ruby-version
|
||||||
RUN gem install bundler
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user