diff --git a/Dockerfile b/Dockerfile index 37d707e2..e8faecb8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ RUN apk add --no-cache build-base sqlite-dev libpq-dev mariadb-dev vips-dev vips COPY ./Gemfile ./Gemfile.lock ./ -RUN bundle update --bundler && bundle install && rm -rf ~/.bundle +RUN bundle update --bundler && bundle install && rm -rf ~/.bundle /usr/local/bundle/cache && find /usr/local/bundle -type d \( -name "rdoc" -o -name "spec" \) -exec rm -rf {} + COPY ./bin ./bin COPY ./app ./app