From 6ee19f3b9ef166a3d1c2f6e782a0d59320fd37f6 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Wed, 14 May 2025 02:40:27 +0000 Subject: [PATCH] Actualizacion de DockerFile API para Test de DinkToPdf --- phronCare.API/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/phronCare.API/Dockerfile b/phronCare.API/Dockerfile index 4dbddae..4e71ac9 100644 --- a/phronCare.API/Dockerfile +++ b/phronCare.API/Dockerfile @@ -7,6 +7,16 @@ WORKDIR /app EXPOSE 8080 EXPOSE 8081 +# 🔧 CAMBIO MÍNIMO: Instalación de wkhtmltopdf y dependencias +USER root +RUN apt-get update && \ + apt-get install -y --no-install-recommends \ + wkhtmltopdf \ + libfontconfig1 \ + libxrender1 \ + libjpeg62-turbo \ + && apt-get clean && rm -rf /var/lib/apt/lists/* +USER app # Instalación de Node.js en la fase base (si lo necesitas para el contenedor final) #RUN apt-get update && apt-get install -y nodejs npm