diff --git a/Dockerfile b/Dockerfile index 710bd2d6..45ed7dad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,6 +47,8 @@ COPY . . # Precompile bootsnap code for faster boot times RUN bundle exec bootsnap precompile app/ lib/ +# Workaround for nokogiri and trivy +RUN rm -f /usr/local/bundle/ruby/3.2.0/gems/nokogiri-1.15.5-x86_64-linux/dependencies.yml # Final stage for app image FROM base