mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2024-12-20 13:14:18 -05:00
22 lines
505 B
Docker
22 lines
505 B
Docker
|
FROM gradle:jdk11
|
||
|
|
||
|
RUN set -ex && \
|
||
|
apt update && \
|
||
|
apt --no-install-recommends --yes install \
|
||
|
make \
|
||
|
git
|
||
|
|
||
|
RUN set -ex && adduser --system --group --disabled-password pricenode && \
|
||
|
mkdir -p /home/pricenode && \
|
||
|
chown -R pricenode:pricenode /home/pricenode
|
||
|
|
||
|
USER pricenode
|
||
|
|
||
|
RUN set -ex && git clone --recursive https://github.com/haveno-dex/haveno-pricenode.git /home/pricenode
|
||
|
|
||
|
WORKDIR /home/pricenode
|
||
|
|
||
|
RUN gradle clean build -x test
|
||
|
|
||
|
ENTRYPOINT [ "./haveno-pricenode" ]
|