How to write to a nfs file system which is locally mounted on the docker host from 'docker build'?

We have a requirement where some files need to be written to a nfs mount on the docker host during the docker build process. The Dockerfile calls some scripts which generates the files that need to be written to the nfs mount which is similar to the one shown below.

netapp-d1:/vol/vol2/docker_files 500G 480M 500G 1% /docker_files

Is there a way to achieve this using ‘docker build’ or using Dockerfile?
Appreciate any suggestion for this.