We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3771f68 commit 53a47a9Copy full SHA for 53a47a9
railties/lib/rails/generators/rails/app/templates/Dockerfile.tt
@@ -73,7 +73,7 @@ RUN apt-get update -qq && \
73
rm -rf /var/lib/apt/lists /var/cache/apt/archives
74
75
# Run and own the application files as a non-root user for security
76
-RUN useradd rails
+RUN useradd rails --home /rails --shell /bin/bash
77
USER rails:rails
78
79
# Copy built artifacts: gems, application
0 commit comments