Mounting the app root directory as a volume for faster development

Anytime someone refreshes the page in a shiny app server.r and user.r are freshly reloaded, which makes development and testing essentially instant when working locally. Updating the app in shinyproxy though requires rebuilding the entire image in order to make any changes persistent for all users.

What about mounting the app root directory as a volume instead of copying it over to the image? Assuming the volume is mounted before the shiny app is spun up would there be any expected downsides to this approach? The actual R session and application would still run within the container, but every container would automagically have the latest version of the app without needing to be rebuilt for each change.