Host-customized fork of https://github.com/tecnovert/basicswap/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
760 B
25 lines
760 B
FROM i_swapclient as install_stage |
|
|
|
RUN basicswap-prepare --preparebinonly --bindir=/coin_bin --withcoin=monero --withoutcoins=particl,litecoin |
|
|
|
FROM debian:buster-slim |
|
|
|
COPY --from=install_stage /coin_bin . |
|
|
|
ENV MONERO_DATA /data |
|
|
|
RUN groupadd -r monero && useradd -r -m -g monero monero \ |
|
&& apt-get update \ |
|
&& apt-get install -qq --no-install-recommends gosu \ |
|
&& rm -rf /var/lib/apt/lists/* \ |
|
&& mkdir -p "$MONERO_DATA" \ |
|
&& chown -R monero:monero "$MONERO_DATA" \ |
|
&& ln -sfn "$MONERO_DATA" /home/monero/.monero \ |
|
&& chown -h monero:monero /home/monero/.monero |
|
VOLUME $MONERO_DATA |
|
|
|
COPY entrypoint.sh /entrypoint.sh |
|
ENTRYPOINT ["/entrypoint.sh"] |
|
|
|
EXPOSE 18080 |
|
CMD ["monerod", "--config-file=/home/monero/.monero/monerod.conf"]
|
|
|