mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
14 lines
343 B
Markdown
14 lines
343 B
Markdown
Docker
|
|
=======
|
|
|
|
From the project root:
|
|
|
|
``` bash
|
|
# build the image
|
|
docker build -t cgrates data/docker/prod
|
|
# create the container
|
|
docker run --rm -itv `pwd`:/root/code --name cgr cgrates
|
|
# If running on local machine, do this to expose agent for /pprof:
|
|
docker run --rm -itv `pwd`:/root/code -p 127.0.0.1:2080:2080/tcp --name cgr cgrates
|
|
```
|