diff --git a/Directory.Packages.props b/Directory.Packages.props index 9cbb2e6b..ea1f1d16 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -47,7 +47,7 @@ - + @@ -87,7 +87,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -133,7 +133,7 @@ - + diff --git a/Dockerfile b/Dockerfile index 2f972e65..79a87022 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,12 @@ -FROM mcr.microsoft.com/dotnet/sdk:10.0.101-alpine3.23 AS builder +FROM mcr.microsoft.com/dotnet/sdk:10.0-alpine3.23 AS builder COPY . /source WORKDIR source RUN dotnet publish ./src/PaperMalKing/PaperMalKing.csproj -c Release -o /app --no-self-contained -r linux-musl-x64 /p:DefineConstants=IsInContainer /p:IsInContainer=true -FROM mcr.microsoft.com/dotnet/aspnet:10.0.1-alpine3.23 AS final +FROM mcr.microsoft.com/dotnet/aspnet:10.0-alpine-extra AS final LABEL org.opencontainers.image.source="https://github.com/TanteiBot/Tantei" ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false -RUN apk add --upgrade --no-cache icu-data-full icu-libs tzdata - COPY --from=builder /app /home/app WORKDIR /home/app ENTRYPOINT ["dotnet", "PaperMalKing.dll"]