]> git.r.bdr.sh - rbdr/r.bdr.sh/commitdiff
Add local development
authorRuben Beltran del Rio <redacted>
Sat, 14 May 2022 11:22:47 +0000 (13:22 +0200)
committerRuben Beltran del Rio <redacted>
Sat, 14 May 2022 11:22:47 +0000 (13:22 +0200)
Dockerfile

index b49cbd8a59b1a305e85428215eeed72c80fe802e..3c6e05862502511daab3bbef04c4b79ab896ce5a 100644 (file)
@@ -9,12 +9,14 @@ RUN pip3 install awscli
 RUN rm -rf /var/cache/apk/*
 
 RUN bundle config --global frozen 1
+RUN bundle config --global deployment 'true'
+RUN bundle config set --local without 'development'
 
 WORKDIR /app
 
 COPY Gemfile.lock .
 COPY Gemfile .
-RUN bundle install --deployment
+RUN bundle install
 
 COPY scripts/mime.types /etc/mime.types
 COPY . .