From 6ee19f3b9ef166a3d1c2f6e782a0d59320fd37f6 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Wed, 14 May 2025 02:40:27 +0000 Subject: [PATCH 1/2] 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 From 2ff2a0377bff52f63fd0f729ee712169f35d17d5 Mon Sep 17 00:00:00 2001 From: Leandro Hernan Rojas Date: Wed, 14 May 2025 12:57:58 +0000 Subject: [PATCH 2/2] revert 6ee19f3b9ef166a3d1c2f6e782a0d59320fd37f6 revert Actualizacion de DockerFile API para Test de DinkToPdf --- phronCare.API/Dockerfile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/phronCare.API/Dockerfile b/phronCare.API/Dockerfile index 4e71ac9..4dbddae 100644 --- a/phronCare.API/Dockerfile +++ b/phronCare.API/Dockerfile @@ -7,16 +7,6 @@ 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