DEV Community

Discussion on: Creating Dynamic README.md File

Collapse
 
zioalex profile image
Alessandro Surace

Very nice Jack! Thanks for sharing. I was trying to understand how do you say to build the docker Image before using it and cannot find it. Is it an implicit step?

Collapse
 
jacktt profile image
JackTT

Sorry for missing it. I've updated the README.md.

docker build -t weather-forecast .
Enter fullscreen mode Exit fullscreen mode
docker run --rm \
-v ./:/app/data \
weather-forecast \
--weather-api-key='XXXX' \
--city=HaNoi \
--out-file=data/README.md \
--template-file=data/README.md.template
Enter fullscreen mode Exit fullscreen mode