Populate versioning info in the docker build for prod and dev
Show the version in the UI
The dev build will still show 0.0.0dev0 because /app/rdwatch/__init__.py doesn't exist in the docker container at build time (and it gets mounted over anyways). I verified that the prod docker image has a populated __init__.py, but haven't tried running it yet. Installing poetry-dynamic-versioning and running poetry dynamic-versioning will update the version info.
The dev build will still show
0.0.0dev0
because/app/rdwatch/__init__.py
doesn't exist in the docker container at build time (and it gets mounted over anyways). I verified that the prod docker image has a populated__init__.py
, but haven't tried running it yet. Installingpoetry-dynamic-versioning
and runningpoetry dynamic-versioning
will update the version info.