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:
infini-logging-build:
build:
context: ../
dockerfile: docker/Dockerfile
# option 1: pull image from infini docker registry
image: docker.infini.ltd:64443/nodejs-dev:latest
# option 2: build image locally
# build:
# context: ../
# dockerfile: docker/Dockerfile
ports:
- 3000:3000
- 7001:7001