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"]