This image Contains both RDMi api and Sql Server Database differentiated with Tag
230
FROM microsoft/mssql-server-windows-developer
SHELL ["powershell"]
RUN mkdir C:\SQLServer
COPY PTGRDmi.mdf C:\SQLServer
COPY PTGRDmi_log.ldf C:\SQLServer
ENV sa_password=Testing11@@
ENV ACCEPT_EULA=Y
EXPOSE 1433
ENV attach_dbs='[{"dbName":"PTGRDmi","dbFiles":["C:\SQLServer\PTGRDmi.mdf","C:\SQLServer\PTGRDmi_log.ldf"]}]'
FROM microsoft/windowsservercore
RUN powershell Import-Module ServerManager
RUN powershell Install-WindowsFeature NET-Framework-45-ASPNET ;
Install-WindowsFeature Web-Asp-Net45
RUN powershell Add-WindowsFeature web-server, web-webserver
COPY . c:/inetpub/wwwroot
RUN powershell Remove-WebSite -Name 'Default Web Site'
RUN powershell New-Website -Name 'guidgenerator1' -Port 3000
-PhysicalPath 'c:\inetpub\wwwroot' -ApplicationPool '.NET v4.5'
ENV ASPNETCORE_URLS http://*:3000
EXPOSE 3000
RUN icacls "c:\inetpub\wwwroot\HelloRDS_PublishCode" /grant Everyone:(OI)(CI)F /T
RUN icacls "c:\inetpub\wwwroot\HelloRDS_PublishCode" /grant IUSR:(OI)(CI)F /T
ENTRYPOINT ["ping","-t","localhost"]
Content type
Image
Digest
Size
8.1 GB
Last updated
about 8 years ago
docker pull 7306889966/rdmi:db