Actualizacion de DockerFile API para Test de DinkToPdf
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 7m3s

This commit is contained in:
Leandro Hernan Rojas 2025-05-14 02:40:27 +00:00
parent c9bfaca76d
commit 6ee19f3b9e

View File

@ -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