-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f9ba304
commit 1e07773
Showing
1 changed file
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] [email protected] 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 \ | ||
[email protected] \ | ||
[email protected] \ | ||
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 | ||
|