Skip to content

Commit

Permalink
Add executable permissions for the data directory in the image. (#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitropy authored May 4, 2024
1 parent bfef77e commit c26064d
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=444 data/ /srv/entropy/data
COPY --chown=entropy:entropy --chmod=554 data/ /srv/entropy/data

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

0 comments on commit c26064d

Please sign in to comment.