basicswap/docker/production/monero_wallet/Dockerfile

17 lines
546 B
Text
Raw Normal View History

2020-12-27 19:39:10 +00:00
FROM i_monero_daemon
ENV MONERO_DATA /data
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" \
&& 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"]
CMD ["/monero/monero-wallet-rpc", "--non-interactive", "--config-file=/data/monero_wallet.conf", "--confirm-external-bind"]