support pull docker images from repo

This commit is contained in:
medcl 2020-03-17 00:22:40 +08:00
parent 9557281d19
commit e24eacdceb
1 changed files with 8 additions and 3 deletions

View File

@ -2,9 +2,14 @@ version: "3.5"
services: services:
infini-logging-build: infini-logging-build:
build: # option 1: pull image from infini docker registry
context: ../ image: docker.infini.ltd:64443/nodejs-dev:latest
dockerfile: docker/Dockerfile
# option 2: build image locally
# build:
# context: ../
# dockerfile: docker/Dockerfile
ports: ports:
- 3000:3000 - 3000:3000
- 7001:7001 - 7001:7001