Lockdown rails app in production for security by rubys · Pull Request #47594 · rails/rails

Current Dockerfile generated by Rails runs as a non-root user which prevents modification of the operating system but leaves wide open all gems and the application itself. This change locks down th...