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