FreudArthur commited on
Commit
f04dc1c
·
1 Parent(s): 31c8ecc

Update Dockerfile to use n8nio/n8n base image and configure environment variables

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -9
Dockerfile CHANGED
@@ -1,11 +1,7 @@
1
- FROM python:3.12
2
 
3
- WORKDIR /app
4
 
5
- COPY requirements.txt .
6
-
7
- RUN pip install --no-cache-dir -r requirements.txt
8
-
9
- COPY . .
10
-
11
- CMD ["python", "app.py"]
 
1
+ FROM n8nio/n8n:latest
2
 
3
+ EXPOSE 7860
4
 
5
+ ENV N8N_HOST=0.0.0.0
6
+ ENV N8N_PORT=7860
7
+ ENV N8N_PROTOCOL=http