diff --git a/.github/workflows.disabled/endpoint-contract.yml b/.github/workflows.disabled/endpoint-contract.yml index 1fc41ea..6ec060f 100644 --- a/.github/workflows.disabled/endpoint-contract.yml +++ b/.github/workflows.disabled/endpoint-contract.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: 9.0.x + dotnet-version: 10.0.x - name: Install protobuf compiler run: | @@ -40,7 +40,7 @@ jobs: - name: Start server run: | - dotnet DorkNet.Server/bin/Debug/net9.0/DorkNet.Server.dll > "$RUNNER_TEMP/dorknet-server.log" 2>&1 & + dotnet DorkNet.Server/bin/Debug/net10.0/DorkNet.Server.dll > "$RUNNER_TEMP/dorknet-server.log" 2>&1 & echo "$!" > "$RUNNER_TEMP/dorknet-server.pid" - name: Wait for server readiness @@ -57,7 +57,7 @@ jobs: - name: Run endpoint contract run: | dotnet run --project tools/DorkNet.EndpointContract/DorkNet.EndpointContract.csproj --no-build -- \ - --server-assembly DorkNet.Server/bin/Debug/net9.0/DorkNet.Server.dll \ + --server-assembly DorkNet.Server/bin/Debug/net10.0/DorkNet.Server.dll \ --base-url http://127.0.0.1:18080 \ --report "$RUNNER_TEMP/endpoint-contract-report.json" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 867a707..7828175 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/setup-dotnet@v4 with: - dotnet-version: '9.0.x' + dotnet-version: '10.0.x' # ── Server self-contained publish ──────────────────────────────── - name: Publish DorkNet.Server (win-x64, self-contained) diff --git a/.gitignore b/.gitignore index efdd618..508dd20 100644 --- a/.gitignore +++ b/.gitignore @@ -12,8 +12,8 @@ dist/ # Local SQLite + uploaded blobs only — DON'T match the source-tree # DorkNet.Server/Data/ folder (which holds DbContext + Entities/) on # case-insensitive filesystems. Use the precise runtime data dirs. -DorkNet.Server/bin/Debug/net9.0/data/ -DorkNet.Server/bin/Release/net9.0/data/ +DorkNet.Server/bin/Debug/net10.0/data/ +DorkNet.Server/bin/Release/net10.0/data/ # appsettings.Production.json is intentionally versioned — contains # only the Postgres provider switch + Kestrel bind address. All real # secrets come from Coolify env vars at runtime. diff --git a/Dockerfile b/Dockerfile index 333d28b..d2eb409 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,14 @@ # DorkNet.Server container image — Coolify deploy target. # ──────────────────────────────────────────────────────────────────── # Multi-stage: SDK image builds + publishes, runtime image is the -# slimmer aspnet:9.0 with only the published output. +# slimmer aspnet:10.0 with only the published output. # # Build context: repo root (so Tools/ and DorkNet.Models/ are visible # to ProjectReference + dotnet restore). The .dockerignore at the # repo root keeps the bin/, obj/, and other dev junk out of the # context. -ARG DOTNET_VERSION=9.0 +ARG DOTNET_VERSION=10.0 ARG NODE_VERSION=22 # ── admin SPA build stage ────────────────────────────────────────── @@ -76,13 +76,13 @@ WORKDIR /app # curl + wget for healthcheck probes — Coolify v4 defaults to wget for # its own probe regardless of what the image's HEALTHCHECK uses, so -# both have to be present. The aspnet:9.0 base image strips both by +# both have to be present. The aspnet:10.0 base image strips both by # default to keep the surface area small. RUN apt-get update \ && apt-get install -y --no-install-recommends curl wget \ && rm -rf /var/lib/apt/lists/* -# Run as a non-root user — aspnet:9.0 ships with the `app` UID 1654. +# Run as a non-root user — aspnet:10.0 ships with the `app` UID 1654. # Coolify mounts persistent volumes with write permission for this UID. USER app diff --git a/Dockerfile.service b/Dockerfile.service index 5a46761..b0c6af7 100644 --- a/Dockerfile.service +++ b/Dockerfile.service @@ -1,4 +1,4 @@ -ARG DOTNET_VERSION=9.0 +ARG DOTNET_VERSION=10.0 ARG NODE_VERSION=22 FROM node:${NODE_VERSION}-alpine AS admin-ui diff --git a/DorkNet.Contracts/DorkNet.Contracts.csproj b/DorkNet.Contracts/DorkNet.Contracts.csproj index 9623deb..93f5ab4 100644 --- a/DorkNet.Contracts/DorkNet.Contracts.csproj +++ b/DorkNet.Contracts/DorkNet.Contracts.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/DorkNet.Gateway/DorkNet.Gateway.csproj b/DorkNet.Gateway/DorkNet.Gateway.csproj index 358445e..342cbdc 100644 --- a/DorkNet.Gateway/DorkNet.Gateway.csproj +++ b/DorkNet.Gateway/DorkNet.Gateway.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable diff --git a/DorkNet.Models/DorkNet.Models.csproj b/DorkNet.Models/DorkNet.Models.csproj index 125f4c9..b760144 100644 --- a/DorkNet.Models/DorkNet.Models.csproj +++ b/DorkNet.Models/DorkNet.Models.csproj @@ -1,7 +1,7 @@  - net9.0 + net10.0 enable enable diff --git a/DorkNet.Server.Tests/DorkNet.Server.Tests.csproj b/DorkNet.Server.Tests/DorkNet.Server.Tests.csproj index 12a6c5e..d2b9da1 100644 --- a/DorkNet.Server.Tests/DorkNet.Server.Tests.csproj +++ b/DorkNet.Server.Tests/DorkNet.Server.Tests.csproj @@ -1,7 +1,7 @@ - net9.0 + net10.0 enable enable false @@ -9,7 +9,7 @@ - + diff --git a/DorkNet.Server/DorkNet.Server.csproj b/DorkNet.Server/DorkNet.Server.csproj index d1e00db..e11419b 100644 --- a/DorkNet.Server/DorkNet.Server.csproj +++ b/DorkNet.Server/DorkNet.Server.csproj @@ -1,20 +1,20 @@ - net9.0 + net10.0 enable enable - - - + + + runtime; build; native; contentfiles; analyzers; buildtransitive all - - + + - + - +