use handshake-api docker image
This commit is contained in:
parent
d577f332b6
commit
40b8390c19
|
@ -120,9 +120,11 @@ services:
|
|||
- 12037
|
||||
|
||||
handshake-api:
|
||||
build:
|
||||
context: ./packages/handshake-api
|
||||
dockerfile: Dockerfile
|
||||
# uncomment "build" and comment out "image" to build from sources
|
||||
# build:
|
||||
# context: https://github.com/SkynetLabs/skynet-webportal.git#master
|
||||
# dockerfile: ./packages/handshake-api/Dockerfile
|
||||
image: skynetlabs/handshake-api
|
||||
container_name: handshake-api
|
||||
restart: unless-stopped
|
||||
logging: *default-logging
|
||||
|
|
|
@ -2,11 +2,11 @@ FROM node:16.14.2-alpine
|
|||
|
||||
WORKDIR /usr/app
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
COPY packages/handshake-api/package.json packages/handshake-api/yarn.lock ./
|
||||
|
||||
RUN yarn --frozen-lockfile
|
||||
|
||||
COPY src/* src/
|
||||
COPY packages/handshake-api/src/* src/
|
||||
|
||||
ENV HSD_NETWORK="main"
|
||||
ENV HSD_HOST="0.0.0.0"
|
||||
|
|
Reference in New Issue