Skip to content

Commit

Permalink
chore: fix permissions in Dockerfile for private/pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ericenns committed Aug 15, 2024
1 parent 3f14cf1 commit a1e59fb
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 @@ -70,7 +70,7 @@ COPY --from=build /rails /rails
# Run and own only the runtime files as a non-root user for security
RUN groupadd --system --gid 1000 rails && \
useradd rails --uid 1000 --gid 1000 --create-home --shell /bin/bash && \
chown -R rails:rails db log storage tmp
chown -R rails:rails db log storage tmp private private/pipelines
USER 1000:1000

# Entrypoint prepares the database.
Expand Down

0 comments on commit a1e59fb

Please sign in to comment.