Skip to content

Commit

Permalink
set working directory to /home/nonroot so p2pool can write its peer list
Browse files Browse the repository at this point in the history
  • Loading branch information
comminutus committed Sep 6, 2024
1 parent 9be3585 commit 181f6c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,8 @@ VOLUME /var/lib/p2pool
# Expose ports
EXPOSE $ports

# Set working directory to /home/nonroot since p2pool will write the peer list to the working directory
WORKDIR /home/nonroot

# Run entrypoint
ENTRYPOINT ["/usr/local/bin/p2pool", "--data-api", "/var/lib/p2pool"]

0 comments on commit 181f6c2

Please sign in to comment.