I have downloaded the standard sitecore docker images and trying to replace web.config file by copying it into C:\SRC in the container. The new web.config file is being replaced. However i'm receiving 500 internal server error while browsing CD site.
Web.config do not have any major changes. Is there any other way to apply changes to web.config file?
PS. While change it via powershell, it works, i have many config changes to do it web.config file hence looking for other options