Build image:
docker build -t tez .
Check if the image is built:
docker images
Run container with image:
docker run -e REDIS_HOST='host.docker.internal' -it -p 3000:3000 tez
Note:
- Ensure docker for pc/mac is installed.
- Ensure redis is running locally with
rejson
module. (https://github.com/RedisJSON/RedisJSON) host.docker.internal
resolves tolocalhost
Check if your service is running on docker with:
docker ps