This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
2022-02-14 14:30:44 +00:00
|
|
|
FROM node:16.14.0-alpine
|
2020-07-27 09:30:55 +00:00
|
|
|
|
|
|
|
WORKDIR /opt/hsd
|
|
|
|
|
2021-04-01 13:15:37 +00:00
|
|
|
RUN apk update && apk add bash unbound-dev gmp-dev g++ gcc make python2 git
|
2021-08-05 10:55:57 +00:00
|
|
|
RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd && \
|
2021-11-09 23:19:49 +00:00
|
|
|
cd /opt/hsd && git checkout v3.0.1 && cd -
|
2020-07-30 12:23:49 +00:00
|
|
|
RUN npm install --production
|
2020-07-27 09:30:55 +00:00
|
|
|
|
|
|
|
ENV PATH="${PATH}:/opt/hsd/bin:/opt/hsd/node_modules/.bin"
|
|
|
|
|
|
|
|
ENTRYPOINT ["hsd"]
|