From 45d0d167d981e6de13fb134d25a20e123c4e3929 Mon Sep 17 00:00:00 2001 From: primo-ppcg Date: Wed, 29 Oct 2025 19:08:07 +0700 Subject: [PATCH] Update Dockerfile --- src/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile b/src/Dockerfile index 03e874cb..3b1a96e0 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,6 +1,6 @@ #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base #Install System.Drawing native dependencies, required for NetBarcode RUN apt-get update \ @@ -31,4 +31,4 @@ RUN dotnet publish "BinaryKits.Zpl.Viewer.WebApi.csproj" -c Release -o /app/publ FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "BinaryKits.Zpl.Viewer.WebApi.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "BinaryKits.Zpl.Viewer.WebApi.dll"]