So I have a .Net Core Web Application running on Linux Centos 7.6 server, within a docker container.
Docker version 18.09.4
My application code is in the path
My web application uploads files to the
myapplication/wwwroot directory. This works locally on my machine. However on the server, the files don’t appear to be saved to the wwwroot folder. Looking at the filepath that the file is going to on the server, the files are being saved to
However, this is no app folder in my application on the server. I believe this is coming from my docker file which contains the line
I have tried to amend this to
but then the container fails during the build stage.
Any ideas would be appreciated,