Docker non-root access volume for runtime image
I have this
Something like
I've tried many things related to docker. I suspect it's how the dotnet/runtime image is setup might be the issue. But i'm not that advanced.
Ideally, i would like to save the file to
DockerfileSomething like
File.WriteAllText("/home/app/data/file.txt", "lorem ipsum") get permission denied when the volume is mounted in linuxI've tried many things related to docker. I suspect it's how the dotnet/runtime image is setup might be the issue. But i'm not that advanced.
Ideally, i would like to save the file to
/data instead of /home/app/data