Alirezamp commited on
Commit
d629bf6
·
verified ·
1 Parent(s): e2011c3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -1
Dockerfile CHANGED
@@ -1 +1,11 @@
1
- FROM n8nio/n8n:latest
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM n8nio/n8n:latest
2
+ FROM python:latest
3
+
4
+ RUN useradd -m -u 1000 user
5
+ WORKDIR /
6
+
7
+ COPY --chown=user ./requirements.txt requirements.txt
8
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
9
+
10
+ COPY --chown=user . /
11
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5678"]