Update comments

This commit is contained in:
Matthew Sevey 2021-09-03 10:52:54 -04:00
parent 343fc6286f
commit a7bb3743a3
No known key found for this signature in database
GPG Key ID: 9ADDD344F13057F6
2 changed files with 5 additions and 2 deletions

View File

@ -103,7 +103,6 @@ services:
build: build:
context: ./docker/handshake context: ./docker/handshake
dockerfile: Dockerfile dockerfile: Dockerfile
# Migration.
command: --chain-migrate=1 --wallet-migrate=1 command: --chain-migrate=1 --wallet-migrate=1
container_name: handshake container_name: handshake
restart: unless-stopped restart: unless-stopped

View File

@ -3,7 +3,11 @@ FROM node:16.5.0-alpine
WORKDIR /opt/hsd WORKDIR /opt/hsd
RUN apk update && apk add bash unbound-dev gmp-dev g++ gcc make python2 git RUN apk update && apk add bash unbound-dev gmp-dev g++ gcc make python2 git
# Checkout a specific commit until Handshake releases 2.4.0 then we should switch to that tag. # Checkout a specific commit until Handshake releases the next release after
# 2.4.0 then we should switch to that tag.
#
# The commit we are targetting right now contains a fix for handling the chain
# migration code for new portals.
RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd && \ RUN git clone https://github.com/handshake-org/hsd.git /opt/hsd && \
cd /opt/hsd && git checkout 6f0927db32723d6320c8bff255a6ccf70b2ccd32 && cd - cd /opt/hsd && git checkout 6f0927db32723d6320c8bff255a6ccf70b2ccd32 && cd -
RUN npm install --production RUN npm install --production