Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # install WCF basic docker image
- FROM microsoft/wcf
- # Next, this Dockerfile creates a directory for your application
- WORKDIR BookingApi
- # configure the new site in IIS.
- RUN powershell -NoProfile -Command
- Import-module IISAdministration;
- New-IISSite -Name "BookingApi" -PhysicalPath D:WorkBookingApi -BindingInformation "*:83:"
- # This instruction tells the container to listen on port 83.
- EXPOSE 83
- # The final instruction copies the site you published earlier into the container.
- COPY BookingApi/ .
Add Comment
Please, Sign In to add comment