mirror of
https://github.com/Retropex/dockerfile-deps.git
synced 2025-05-13 00:40:41 +02:00
Add in block.txt to block malicious nodes at start (#18)
* Add in download and add block.txt Adding in this text file of IP addresses allows monerod to block known-malicious nodes on start instead of waiting for detection of their malicious behavior. * Fix file placement to proper directory
This commit is contained in:
parent
9f93b9b0ab
commit
8516f1fe22
@ -27,6 +27,10 @@ RUN adduser --system --group --disabled-password monero && \
|
||||
VOLUME /home/monero/.bitmonero
|
||||
VOLUME /wallet
|
||||
|
||||
# Download and add block.txt to block known-malicious hosts
|
||||
ADD https://gui.xmr.pm/files/block.txt /home/monero/block.txt
|
||||
RUN chown monero:monero /home/monero/block.txt
|
||||
|
||||
EXPOSE 18080
|
||||
EXPOSE 18081
|
||||
EXPOSE 18082
|
||||
|
Loading…
Reference in New Issue
Block a user