From 1e07773ebec8b3fe03a8d83346c0409e217723eb Mon Sep 17 00:00:00 2001 From: Emerson Pedroso Date: Sun, 10 Nov 2024 04:56:25 -0300 Subject: [PATCH] update --- Dockerfile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e6b27a4..79b11aa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,17 +5,29 @@ USER root # Instala as dependências necessárias para a construção RUN apk add --no-cache make gcc g++ python3 - +RUN apk --update --no-cache --purge add libreoffice-common WORKDIR /usr/local/lib/node_modules -RUN npm install langfuse@3.18.0 langfuse-langchain@3.18.0 duck-duck-scrape odoo-await @mozilla/readability arxiv-api google-trends-api-code archive-search semanticscholarjs n8n-nodes-pdf-to-imgs n8n-nodes-pdfkit +RUN npm install \ + langfuse@3.18.0 \ + langfuse-langchain@3.18.0 \ + duck-duck-scrape \ + odoo-await \ + @mozilla/readability \ + arxiv-api \ + google-trends-api-code \ + archive-search \ + semanticscholarjs \ + n8n-nodes-pdf-to-imgs \ + n8n-nodes-pdfkit \ + n8n-nodes-carbonejs # Imagem final FROM n8nio/n8n:latest USER root - +RUN apk --update --no-cache --purge add libreoffice-common # Copia as dependências globais instaladas da etapa de construção COPY --from=builder /usr/local/lib/node_modules /usr/local/lib/node_modules # Instala as dependências do Gradio e Langfuse globalmente