2020-12-27 19:39:10 +00:00
|
|
|
FROM i_monero_daemon
|
|
|
|
|
|
|
|
ENV MONERO_DATA /data
|
|
|
|
|
2021-06-28 21:56:45 +00:00
|
|
|
RUN groupadd -r monero_wallet && useradd -r -m -g monero_wallet monero_wallet \
|
2020-12-27 19:39:10 +00:00
|
|
|
&& apt-get update \
|
|
|
|
&& apt-get install -qq --no-install-recommends gosu \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* \
|
|
|
|
&& mkdir -p "$MONERO_DATA" \
|
2021-06-28 21:56:45 +00:00
|
|
|
&& chown -R monero_wallet:monero_wallet "$MONERO_DATA"
|
2020-12-27 19:39:10 +00:00
|
|
|
VOLUME $MONERO_DATA
|
|
|
|
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
|
2022-07-11 21:36:28 +00:00
|
|
|
CMD ["/monero/monero-wallet-rpc", "--non-interactive", "--config-file=/data/monero_wallet.conf", "--confirm-external-bind"]
|