fix atendimentos.ts
Signed-off-by: Rodrigo Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
1 parent
33d9fe8688
commit
8816cad6ef
7 files changed
+248
-122
No files matched your search
+35
-4
@@ -1,11 +1,42 @@
|
||||
FROM node:20-slim
|
||||
|
||||
# Instalar dependências do sistema
|
||||
# Forçar uso do Firefox
|
||||
ENV PUPPETEER_PRODUCT=firefox
|
||||
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
|
||||
|
||||
# Instalar Firefox e dependências essenciais de maneira mais completa
|
||||
RUN apt-get update && apt-get install -y \
|
||||
chromium \
|
||||
libgconf-2-4 \
|
||||
firefox-esr \
|
||||
libasound2 \
|
||||
libdbus-1-3 \
|
||||
libdrm2 \
|
||||
libgdk-pixbuf2.0-0 \
|
||||
libglib2.0-0 \
|
||||
libgtk-3-0 \
|
||||
libnspr4 \
|
||||
libnss3 \
|
||||
libpango-1.0-0 \
|
||||
libpangocairo-1.0-0 \
|
||||
libx11-6 \
|
||||
libx11-xcb1 \
|
||||
libxcb1 \
|
||||
libxcomposite1 \
|
||||
libxcursor1 \
|
||||
libxdamage1 \
|
||||
libxext6 \
|
||||
libxfixes3 \
|
||||
libxi6 \
|
||||
libxrandr2 \
|
||||
libxrender1 \
|
||||
libxss1 \
|
||||
libxtst6 \
|
||||
xvfb \
|
||||
postgresql-client \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& rm -rf /root/.cache/puppeteer
|
||||
|
||||
# Verificar instalação do Firefox
|
||||
RUN firefox-esr --version
|
||||
|
||||
# Criar diretório da aplicação
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
Reference in new issue
Block a user