From f08249e0e5f4ef537babba537fbe3df66b0728ec Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 24 Feb 2022 15:44:41 +0100 Subject: [PATCH] use handshake docker image --- docker-compose.yml | 4 +--- docker/handshake/Dockerfile | 12 ------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 docker/handshake/Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 2d4cb847..9c0d59d5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -102,9 +102,7 @@ services: - 9000 handshake: - build: - context: ./docker/handshake - dockerfile: Dockerfile + image: skynetlabs/hsd:3.0.1 command: --chain-migrate=2 --wallet-migrate=1 container_name: handshake restart: unless-stopped diff --git a/docker/handshake/Dockerfile b/docker/handshake/Dockerfile deleted file mode 100644 index fba07334..00000000 --- a/docker/handshake/Dockerfile +++ /dev/null @@ -1,12 +0,0 @@ -FROM node:16.14.0-alpine - -WORKDIR /opt/hsd - -RUN apk update && apk add bash unbound-dev gmp-dev g++ gcc make python2 git -RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd && \ - cd /opt/hsd && git checkout v3.0.1 && cd - -RUN npm install --production - -ENV PATH="${PATH}:/opt/hsd/bin:/opt/hsd/node_modules/.bin" - -ENTRYPOINT ["hsd"]