How to pass folder path as run parameter in Docker

0

This is my docker file

ENV filePath = "C:\newfiles\Prepayment_DB.accdb"
    sourcePath = "C:\srcPath\"
    destPath = "C:\destPath\"
FROM mcr.microsoft.com/dotnet/framework/sdk:3.5
COPY bin/ MbrRst/
WORKDIR MbrRst/Release
ENTRYPOINT ["RunApplication.exe", "oradbserv1", "krish", "one", $filePath, $sourcePath, $destPath]

When I try to run the above code, it gives me error

Details: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

I wanted to pass the folder names and file as input while running the exe. Can someone help me out please?

thanks in advance

c#
docker
containers
asked on Stack Overflow Oct 22, 2020 by superachu

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0