Skip to content

Commit

Permalink
Fixes permission denied error when exporting container filesystem. (#…
Browse files Browse the repository at this point in the history
…812)

Fixes #809: Grant execute permissions for exported directories.
  • Loading branch information
vitropy authored May 5, 2024
1 parent c26064d commit da98f94
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 @@ -117,7 +117,7 @@ RUN addgroup --system entropy \
# Lastly, we copy our own files into the final container image stage.
COPY --from=build --chown=entropy:entropy --chmod=554 /usr/local/bin/${PACKAGE} /usr/local/bin/${PACKAGE}
COPY --chown=entropy:entropy --chmod=554 bin/entrypoint.sh /usr/local/bin/entrypoint.sh
COPY --chown=entropy:entropy --chmod=554 data/ /srv/entropy/data
COPY --chown=entropy:entropy --chmod=774 data/ /srv/entropy/data

# Don't run as the `root` user within the container.
USER entropy
Expand Down

0 comments on commit da98f94

Please sign in to comment.