Include only bitcoind from downloader stage

This should help make the image leaner.
This commit is contained in:
Foster Hangdaan 2023-10-19 19:50:06 -04:00
parent c1c728f0c8
commit 0abc15044f
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -39,7 +39,7 @@ RUN set -ex && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt rm -rf /var/lib/apt
COPY --from=downloader /bitcoin/tmp/bin/bitcoin* /usr/local/bin/ COPY --from=downloader /bitcoin/tmp/bin/bitcoind /usr/local/bin/
RUN adduser --system --group --disabled-password bitcoin && \ RUN adduser --system --group --disabled-password bitcoin && \
mkdir -p /home/bitcoin/.bitcoin mkdir -p /home/bitcoin/.bitcoin