From: Ruben Beltran del Rio Date: Sat, 14 May 2022 11:22:47 +0000 (+0200) Subject: Add local development X-Git-Url: https://git.r.bdr.sh/rbdr/r.bdr.sh/commitdiff_plain/b61e5315916de4e6e1a4691e260634c24d5718ea?hp=377a62f33eee4098b98ef6225f3adee018ceb39c Add local development --- diff --git a/Dockerfile b/Dockerfile index b49cbd8..3c6e058 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .