How to specify c drive in a dockerfile (windows image)
I am packing a windows app to be a image. The directory looks like this, and because of I need to use absolute path for this image, I have to copy files to base image's c drive.
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.8
COPY . C:\
WORKDIR C:\somefolder
But I found that this is not feasible. Are there any better ways to access base image's c drive?