Trying to spin up Windows Container with Website and set the App Pool to 32 bit

Hi, I am trying to setup a docker windows container and setup a web site. This has all worked and the website renders but its in 64 bit mode. So I am trying to run the necessary powershell comand to set the app pool to 32 bit mode but this doesnt seem to work and i get no errors. I have looked at the applicationHost.config in the running container and 32 bit mode is not set. I could change the applicationHost.config manually and copy it back to the container but that defeats the idea of creating this container on the fly and having 32 bit mode set.

any ideas? below is the dockerfile

The FROM instruction specifies the base image. You are

extending the microsoft/aspnet image.

FROM microsoft/aspnet

Next, this Dockerfile creates a directory for your application

RUN mkdir C:\inetpub\wwwroot\Website

RUN powershell -NoProfile -Command
Import-module IISAdministration;
New-IISSite -Name “int2012-member.domain.com” -PhysicalPath C:\inetpub\wwwroot\Website -BindingInformation “*:8000:”

RUN powershell -NoProfile -Command Import-module WebAdministration | set-itemProperty IIS:\apppools\DefaultAppPool -name “enable32BitAppOnWin64” -Value “true”

This instruction tells the container to listen on port 8000.

EXPOSE 8000

The final instruction copies the site you published earlier into the container.

ADD Onlife/ /inetpub/wwwroot/Website

thanks in advance.