support pull docker images from repo
This commit is contained in:
parent
9557281d19
commit
e24eacdceb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue