Closed
Description
In the README, the command
docker run --rm -v $(pwd):/usr/src/project commitizen/commitizen:latest /bin/sh -c 'cz bump --changelog'
suggests to mount the current directory to /usr/src/project
. But in the Dockerfile, the WORKDIR
is set to /app
and hence docker run -v $(pwd):/usr/src/project commitizen/commitizen git status
raises
fatal: not a git repository (or any of the parent directories): .git
Metadata
Metadata
Assignees
Labels
No labels
Activity
woile commentedon Sep 21, 2020
Nice catch, we gotta update the readme to point to $(pwd):/app instead
pedrolsazevedo commentedon Oct 25, 2022
Hello, the docker hub readme needs to be updated too:
https://hub.docker.com/r/commitizen/commitizen
woile commentedon Oct 26, 2022
Thanks, I've updated the README manually on docker hub