Windows Application 32 bit COM dll registration

Dear Friends,
Is there any permanent solution for this problem. I have tried most of the solutions found in the internet to register my third party DLLs in the windows registry. But nothing helps.
my current docker file as below.

escape=`

FROM microsoft/windowsservercore
FROM microsoft/iis
SHELL [“powershell”, “-command”]

RUN md c:\RASS;
RUN md c:\RASS\DLL;

COPY .\revass\DLL\RevAssDataSource.dll C:\RASS\DLL\RevAssDataSource.dll

RUN C:\Windows\SysWOW64\regsvr32.exe /S C:\RASS\DLL\RevAssDataSource.dll

Can anyone please help me.

Thanks in advance.

Sajitha Chandran