The docker ignore needs updating so that the container build works locally. Currently when running podman build -t test . it will fail with the message LookupError: setuptools-scm was unable to detect version for /context.
Replacing the line **/.* in the .dockerignore with the specific directories and files you want to ignore, leaving the .git will fix this.
The docker ignore needs updating so that the container build works locally. Currently when running
podman build -t test .
it will fail with the messageLookupError: setuptools-scm was unable to detect version for /context
.Replacing the line
**/.*
in the .dockerignore with the specific directories and files you want to ignore, leaving the.git
will fix this.