Skip to content

Commit

Permalink
Use same explaining comment style, group related actions together
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Feb 19, 2023
1 parent fc3ebf6 commit e9cb3c7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ RUN apt-get update -qq && \
apt-get install --no-install-recommends -y <%= dockerfile_deploy_packages.join(" ") %> && \
rm -rf /var/lib/apt/lists /var/cache/apt/archives

# add custom user
# Run and own the application files as a non-root user for security
RUN useradd rails

USER rails:rails

# Copy built artifacts: gems, application
Expand Down

0 comments on commit e9cb3c7

Please sign in to comment.