Skip to content

Commit

Permalink
Fix production docker image build
Browse files Browse the repository at this point in the history
  • Loading branch information
gmmcal committed Oct 17, 2023
1 parent d30a132 commit 1b52d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ COPY --from=build /rails /rails

# Run and own only the runtime files as a non-root user for security
RUN useradd rails --create-home --shell /bin/bash && \
chown -R rails:rails db log storage tmp
chown -R rails:rails db log tmp
USER rails:rails

# Entrypoint prepares the database.
Expand Down

0 comments on commit 1b52d2d

Please sign in to comment.