Guest User

Untitled

a guest
Feb 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. # install WCF basic docker image
  2.  
  3. FROM microsoft/wcf
  4.  
  5. # Next, this Dockerfile creates a directory for your application
  6. WORKDIR BookingApi
  7.  
  8. # configure the new site in IIS.
  9. RUN powershell -NoProfile -Command
  10. Import-module IISAdministration;
  11. New-IISSite -Name "BookingApi" -PhysicalPath D:WorkBookingApi -BindingInformation "*:83:"
  12.  
  13. # This instruction tells the container to listen on port 83.
  14. EXPOSE 83
  15.  
  16. # The final instruction copies the site you published earlier into the container.
  17. COPY BookingApi/ .
Add Comment
Please, Sign In to add comment