Docker windows mount volume in current project without defining absolute path

Is there way to in Docker windows mount volume in current project without defining absolute pat

I’m trying to do it with docker file for some reason
VOLUME command in docker file doesn’t work.

Ex: VOLUME ("/src", “/App”)

It complains about can’t find SRC folder

Reason I want to use relative path because this is a code project and different ppl would load their project to different environments. We don’t know absolute path

Unfortunately, it’s not possible on the docker command line. It’s not possible in Linux or macOS either, but you can use $PWD as a reference to the current directory there.

Your best option may be Docker Compose - that permits relative paths in the YML configuration file.