Skip to content

Commit

Permalink
add python
Browse files Browse the repository at this point in the history
  • Loading branch information
traderpedroso committed Aug 20, 2024
1 parent c4f26f7 commit 1e5e8cd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM n8nio/n8n:latest
USER root
RUN npm install -g @gradio/client
RUN cd /usr/local/lib/node_modules/n8n && \
npm install @gradio/client
RUN apk add --update python3 py3-pip
# installs requests library
RUN python3 -m pip install requests
RUN python3 -m pip install gradio_client
# upgrades pip (not necessary)
RUN python3 -m pip install --upgrade pip
USER node

0 comments on commit 1e5e8cd

Please sign in to comment.