WIP: Guardando trabajo antes de actualizar con development
This commit is contained in:
@@ -9,6 +9,31 @@ RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Instalar dependencias para wkhtmltopdf y reportes PDF
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y \
|
||||
xvfb \
|
||||
fontconfig \
|
||||
fonts-dejavu-core \
|
||||
libfontconfig1 \
|
||||
libxrender1 \
|
||||
libxtst6 \
|
||||
libxi6 \
|
||||
libxrandr2 \
|
||||
ca-certificates \
|
||||
libjpeg62-turbo \
|
||||
libpng16-16 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Instalar wkhtmltopdf binario oficial con soporte para footers/headers
|
||||
RUN curl -k -L -o /tmp/wkhtmltox.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y /tmp/wkhtmltox.deb \
|
||||
&& rm /tmp/wkhtmltox.deb \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& wkhtmltopdf --version
|
||||
|
||||
|
||||
# Copiar requirements
|
||||
COPY requirements.txt .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user