fix handshake node build

This commit is contained in:
Karol Wypchlo 2020-10-13 15:13:07 +02:00
parent 1d08e337bb
commit b06ebaea72
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# we can't use alpine image since it fails on node-gyp FROM node:14.13.1-alpine
FROM node:14.13.1
WORKDIR /opt/hsd WORKDIR /opt/hsd
RUN apk add --no-cache bash unbound-dev gmp-dev g++ gcc make python2 git
RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd
RUN npm install --production RUN npm install --production