Docker Community Forums

Share and learn in the Docker community.

Adding Mime type to iis


(Rongalooli) #1

Hi,
My DockerFile looks like this:

########################################

FROM microsoft/wcf:4.7

RUN mkdir C:\WcfServiceTest

RUN powershell -NoProfile -Command
Import-module IISAdministration;
New-IISSite -Name “WcfServiceTest” -PhysicalPath C:\WcfServiceTest -BindingInformation “*:%PORT%:”

EXPOSE %PORT%

COPY /Publish/ C:\WcfServiceTest
#####################################

How can I add mime types to the IIS?

Thanks,
Ron