File tree Expand file tree Collapse file tree 8 files changed +17
-35
lines changed Expand file tree Collapse file tree 8 files changed +17
-35
lines changed Original file line number Diff line number Diff line change 1+ FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env
2+ WORKDIR /app
3+
4+ # Copy everything
5+ COPY . ./
6+ # Restore as distinct layers
7+ RUN dotnet restore
8+ # Build and publish a release
9+ RUN dotnet publish -c Release -o out
10+
11+ # Build runtime image
12+ FROM mcr.microsoft.com/dotnet/aspnet:6.0
13+ WORKDIR /app
14+ COPY --from=build-env /app/out .
15+ ENTRYPOINT ["dotnet" , "InEngine.dll" ]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2323 <ProjectReference Include =" ..\InEngine.Commands\InEngine.Commands.csproj" />
2424 </ItemGroup >
2525 <ItemGroup >
26+ <PackageReference Include =" Common.Logging.Serilog" Version =" 4.4.0" />
2627 <PackageReference Include =" NETStandard.Library" Version =" 2.0.1" />
2728 <PackageReference Include =" CommandLineParser" Version =" 1.9.71" />
2829 </ItemGroup >
2930 <ItemGroup >
30- <None Update =" Install.ps1" >
31- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
32- </None >
33- <None Update =" Uninstall.ps1" >
34- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
35- </None >
36- <None Update =" inengine" >
37- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
38- </None >
3931 <None Update =" appsettings.json" >
4032 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
4133 </None >
4537 <None Update =" Dockerfile" >
4638 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
4739 </None >
48- <None Update =" docker-compose.yml" >
49- <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
50- </None >
5140 <None Update =" app.config" >
5241 <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
5342 </None >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "InEngine" : {
33 "Plugins" : {
4- "InEngine.Commands" : " ./Plugins/"
4+ // "InEngine.Commands": "./Plugins/"
55 },
66 "ExecWhitelist" : {
77 },
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments