murat.ustuntas PRO said about 3 years ago on Docker on Rails 7 :
I ran the command as you said. Sorry, the nokogiri error still persists.My other docker services are also running. However, I am using the source file from you for the first time.

yarn run v1.22.10
$ esbuild app/javascript/*.* --bundle --outdir=app/assets/builds --watch
rails7-js-1        | [watch] build finished, watching for changes...
yarn run v1.22.10
rails7-app-1       | Could not find nokogiri-1.12.5, mini_portile2-2.6.1 in any of the sources
rails7-app-1       | Run `bundle install` to install missing gems.
$ sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules --watch
rails7-app-1 exited with code 7
rails7-css-1       | Sass is watching for changes. Press Ctrl-C to stop.
rails7-css-1       |