Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created August 23, 2018 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/2a28e6eb350275a74c4251ba5b910734 to your computer and use it in GitHub Desktop.
Save bjoerntx/2a28e6eb350275a74c4251ba5b910734 to your computer and use it in GitHub Desktop.
FROM microsoft/windowsservercore:latest
ADD ./deployment_txservice/ /txserver/
ADD ./deployment_webapplication/ /inetpub/wwwroot/
SHELL ["powershell"]
RUN Install-WindowsFeature NET-Framework-45-ASPNET ; \
Install-WindowsFeature Web-Asp-Net45 ; \
Install-WindowsFeature Web-Server ; \
Install-WindowsFeature Web-WebSockets
ADD "http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe" "/vcredist_x64.exe"
RUN powershell.exe -Command Start-Process "c:/vcredist_x64.exe" -ArgumentList "/passive" -Wait -Passthru
RUN Start-Process "./txserver/txregwebsvr.exe" '/i + /e + /w' -wait
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment