Serverless to aws - getting invalid volume error whenever I have requirement.txt file

docker: Error response from daemon: invalid volume specification: ‘C:\Users\sant_\python-s3-thumbnail:/var/task:z’.
See ‘docker run --help’

I have run the same code in conda virtual environment, windows docker (using toolkit) and using nodejs. All gave the same result.