Skip to content

Commit 4a20e4f

Browse files
fix app permissions
1 parent 1fdeb57 commit 4a20e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ COPY --from=build /rails /rails
7575
# Run and own only the runtime files as a non-root user for security
7676
RUN groupadd --system --gid 1000 rails && \
7777
useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
78-
chown -R rails:rails db log storage tmp
78+
chown -R rails:rails db log storage tmp app packages
7979
USER 1000:1000
8080

8181
# Entrypoint prepares the database.

0 commit comments

Comments
 (0)