applepie69 commited on
Commit
08d5d1b
·
verified ·
1 Parent(s): 988d179

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -1,5 +1,9 @@
 
 
1
  FROM n8nio/n8n:latest
2
 
3
  USER root
4
- RUN cat /etc/os-release
 
 
5
  USER node
 
1
+ FROM python:3.12-alpine AS python-stage
2
+
3
  FROM n8nio/n8n:latest
4
 
5
  USER root
6
+ COPY --from=python-stage /usr/local/bin/python3 /usr/local/bin/python3
7
+ COPY --from=python-stage /usr/local/lib/python3.12 /usr/local/lib/python3.12
8
+ COPY --from=python-stage /usr/local/lib/libpython3.12.so.1.0 /usr/local/lib/libpython3.12.so.1.0
9
  USER node