Skip to content

Commit 7624360

Browse files
committed
981137: Changed the docker file for HTML to PDF conversion on Azure App service Linux docker.
1 parent 401a866 commit 7624360

File tree

1 file changed

+2
-2
lines changed
  • Azure/HTML_to_PDF_Azure_app_service_docker/HTML_to_PDF_Azure_app_service_docker

1 file changed

+2
-2
lines changed

Azure/HTML_to_PDF_Azure_app_service_docker/HTML_to_PDF_Azure_app_service_docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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:6.0 AS base
3+
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
44
RUN apt-get update && \
55
apt-get install -yq --no-install-recommends \
66
libasound2 libatk1.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \
@@ -14,7 +14,7 @@ EXPOSE 80
1414
EXPOSE 443
1515

1616

17-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
17+
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
1818
WORKDIR /src
1919
COPY ["HTML_to_PDF_Azure_app_service_docker/HTML_to_PDF_Azure_app_service_docker.csproj", "HTML_to_PDF_Azure_app_service_docker/"]
2020
RUN dotnet restore "HTML_to_PDF_Azure_app_service_docker/HTML_to_PDF_Azure_app_service_docker.csproj"

0 commit comments

Comments
 (0)