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.
skynet-webportal/docker/handshake/Dockerfile

12 lines
265 B
Docker

# we can't use alpine image since it fails on node-gyp
FROM node:14.13.1
WORKDIR /opt/hsd
RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd
RUN npm install --production
ENV PATH="${PATH}:/opt/hsd/bin:/opt/hsd/node_modules/.bin"
ENTRYPOINT ["hsd"]