From 12123b2a9232540352df442dc774ba68ab51de06 Mon Sep 17 00:00:00 2001 From: Jose Henrique Date: Tue, 17 Jun 2025 10:32:49 -0300 Subject: [PATCH] updating docker things --- .github/workflows/ci.yml | 2 +- Dockerfile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e617116..5f9e76c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: 6.0.x + dotnet-version: 6 - name: Restore dependencies run: dotnet restore - name: Build diff --git a/Dockerfile b/Dockerfile index 1c684b6..4b2dbd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env WORKDIR /App # Copy everything @@ -14,7 +14,7 @@ RUN dotnet restore RUN dotnet build -c Release -o out # Build runtime image -FROM mcr.microsoft.com/dotnet/aspnet:6.0 +FROM mcr.microsoft.com/dotnet/aspnet:8.0 RUN apt update && apt install -y ffmpeg libopus-dev opus-tools libsodium-dev WORKDIR /App