use handshake-api docker image

This commit is contained in:
Karol Wypchlo 2022-04-07 14:38:19 +02:00
parent d577f332b6
commit 40b8390c19
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
2 changed files with 7 additions and 5 deletions

View File

@ -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

View File

@ -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"