Closed demeringo closed 1 year ago
Need to pass version to the docker build command
In command line (assuming we ran make build before)
docker build . --build-arg VERSION=<my-specific-version>
or better
docker build --build-arg VERSION=`poetry version -s` .
In the makefile
docker build -t $(DOCKER_NAME) . --build-arg VERSION=${CURRENT_VERSION}
Bug description
Docker build fails on dev branch;
To Reproduce
docker build .
Expected behavior
JSON OUTPUT
Additional context
Seems related to a version number not set or not found in the docker build process.
COPY dist/boaviztapi-.tar.gz
has no version number