Skip to content

Commit

Permalink
image: fix data volume permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
apetruhin committed Nov 14, 2024
1 parent 49e8f92 commit e395f03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ LABEL name="coroot-cluster-agent" \

COPY LICENSE /licenses/LICENSE

USER 65534:65534
COPY --from=builder /tmp/src/coroot-cluster-agent /usr/bin/coroot-cluster-agent
RUN mkdir /data && chown 65534:65534 /data

USER 65534:65534
VOLUME /data
ENTRYPOINT ["coroot-cluster-agent"]

0 comments on commit e395f03

Please sign in to comment.