mirror of
https://github.com/SoDOff-Project/sodoff-mmo.git
synced 2025-10-11 08:18:49 -07:00
Compare commits
3 Commits
4278b8565b
...
56f66dd51c
Author | SHA1 | Date | |
---|---|---|---|
![]() |
56f66dd51c | ||
![]() |
6bcd985011 | ||
![]() |
d09aaf502b |
@ -1,5 +1,5 @@
|
|||||||
# Use the official .NET SDK image for building the application
|
# Use the official .NET SDK image for building the application
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
# Copy the source code
|
# Copy the source code
|
||||||
@ -9,7 +9,7 @@ COPY . .
|
|||||||
RUN dotnet build -c Release -o /app
|
RUN dotnet build -c Release -o /app
|
||||||
|
|
||||||
# Create clean run environment (without source and sdk)
|
# Create clean run environment (without source and sdk)
|
||||||
# FROM mcr.microsoft.com/dotnet/runtime:6.0 AS base
|
# FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base
|
||||||
# WORKDIR /app
|
# WORKDIR /app
|
||||||
# COPY --from=build /app .
|
# COPY --from=build /app .
|
||||||
|
|
||||||
|
@ -2,18 +2,15 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
|
|
||||||
<DockerfileRunArguments>-p 9933:9933</DockerfileRunArguments>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ComponentAce.Compression.Libs.zlib" Version="1.0.4" />
|
<PackageReference Include="ComponentAce.Compression.Libs.zlib" Version="1.0.4" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.6" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.6" />
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.19.4" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user