Skip to content

Generate Dockerfile

Compare
Choose a tag to compare
@carvalhorr carvalhorr released this 25 Feb 20:20
· 2 commits to master since this release

Generates a 'Dockerfile` to start the mock service automatically.

Docker build:

docker build -t tag:version .

Run in default ports:

docker run -p 10010:10010 -p 1068:1068 tag:version

Run overriding ports:

docker run -e REST_PORT=1069 -e GRPC_PORT=50051 -p 10010:50051 -p 1010:1069 tag-version