diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index a7549766..6c0fe441 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -26,7 +26,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v1 with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Restore Dependencies run: dotnet restore @@ -101,7 +101,7 @@ jobs: - name: Setup Buildx uses: actions/setup-dotnet@v1 with: - dotnet-version: '8.x' + dotnet-version: '9.x' include-prerelease: true - name: Build Artifact diff --git a/OpenAlprWebhookProcessor.Server/Dockerfile b/OpenAlprWebhookProcessor.Server/Dockerfile index 89907e2f..0948dfb9 100644 --- a/OpenAlprWebhookProcessor.Server/Dockerfile +++ b/OpenAlprWebhookProcessor.Server/Dockerfile @@ -1,11 +1,11 @@ #See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base USER app WORKDIR /app EXPOSE 8080 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src