File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Word-to-PDF-Conversion/Convert-Word-document-to-PDF/Docker/Alpine/WordToPDFDockerSample Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22
3- FROM mcr.microsoft.com/dotnet/aspnet:3.1-alpine3.12 AS base
3+ FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine AS base
44RUN apk update && apk upgrade && apk add fontconfig
55RUN apk add --update ttf-dejavu fontconfig
66WORKDIR /app
77
8- FROM mcr.microsoft.com/dotnet/sdk:3.1-alpine3.12 AS build
8+ FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
99WORKDIR /src
1010COPY ["WordToPDFDockerSample.csproj" , "." ]
1111RUN dotnet restore "./WordToPDFDockerSample.csproj"
Original file line number Diff line number Diff line change 22
33 <PropertyGroup >
44 <OutputType >Exe</OutputType >
5- <TargetFramework >netcoreapp3.1 </TargetFramework >
5+ <TargetFramework >net8.0 </TargetFramework >
66 <DockerDefaultTargetOS >Linux</DockerDefaultTargetOS >
77 <DockerfileContext >.</DockerfileContext >
88 </PropertyGroup >
99
1010 <ItemGroup >
11- <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.10.14 " />
12- <PackageReference Include =" SkiaSharp.NativeAssets.Linux" Version =" 2.80.2 " />
13- <PackageReference Include =" Syncfusion.DocIORenderer.Net.Core" Version =" 19.2.0.55 " />
11+ <PackageReference Include =" Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version =" 1.19.5 " />
12+ <PackageReference Include =" SkiaSharp.NativeAssets.Linux" Version =" 2.88.6 " />
13+ <PackageReference Include =" Syncfusion.DocIORenderer.Net.Core" Version =" * " />
1414 </ItemGroup >
1515
1616</Project >
You can’t perform that action at this time.
0 commit comments