n8n / Dockerfile
ryusei7's picture
Update Dockerfile
00e422f verified
Raw
History Blame Contribute Delete
354 Bytes
FROM python:3.10-slim
# Install system dependencies and Node.js v20
RUN apt-get update && apt-get install -y curl gnupg \
&& curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y nodejs \
&& npm install -g n8n
WORKDIR /app
# Copy and run the clean script
COPY start.py .
EXPOSE 7860
CMD ["python", "start.py"]