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
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 7m3s
This commit is contained in:
parent
c9bfaca76d
commit
6ee19f3b9e
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user