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
Raw Normal View History

2020-07-30 12:23:49 +00:00
# we can't use alpine image since it fails on node-gyp
2020-10-13 12:33:47 +00:00
FROM node:14.13.1
2020-07-27 09:30:55 +00:00
WORKDIR /opt/hsd
2020-07-30 12:23:49 +00:00
RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd
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"]