Skip to content

Commit fa84e66

Browse files
committed
Merge branch 'develop'
2 parents fc44c8c + 03ab8e6 commit fa84e66

File tree

8 files changed

+17
-35
lines changed

8 files changed

+17
-35
lines changed

src/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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"]

src/InEngine/Dockerfile

Lines changed: 0 additions & 6 deletions
This file was deleted.

src/InEngine/InEngine.csproj

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,11 @@
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>
@@ -45,9 +37,6 @@
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>

src/InEngine/Install.ps1

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/InEngine/Uninstall.ps1

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/InEngine/appsettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"InEngine": {
33
"Plugins": {
4-
"InEngine.Commands": "./Plugins/"
4+
// "InEngine.Commands": "./Plugins/"
55
},
66
"ExecWhitelist": {
77
},

src/InEngine/docker-compose.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/InEngine/inengine

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)