Skip to content

Commit

Permalink
Ensure data directory ownership is with mesh user
Browse files Browse the repository at this point in the history
  • Loading branch information
wnagele committed Jun 14, 2024
1 parent 39c9f92 commit 265505b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ USER mesh
WORKDIR /home/mesh
COPY --from=builder /tmp/firmware/release/meshtasticd /home/mesh/

RUN mkdir data
VOLUME /home/mesh/data

CMD [ "sh", "-cx", "./meshtasticd -d /home/mesh/data --hwid=${HWID:-$RANDOM}" ]
Expand Down

0 comments on commit 265505b

Please sign in to comment.