Yes, that would be "docker build". Or docker compose if you want to do more things and organise the volume mapping side/other dependencies.
> does the state of my docker container match the Dockerfile of my feature branch"
Why track the state of your docker container? Just build it.