n8n_RAG / Dockerfile
Ryanfafa's picture
Create Dockerfile
08cba7d verified
raw
history blame contribute delete
366 Bytes
FROM node:20-slim
# Install n8n globally
RUN npm install -g n8n
# Create working directory
WORKDIR /app
# Copy workflows and entrypoint
COPY workflows /app/workflows
COPY entrypoint.sh /app/entrypoint.sh
RUN chmod +x /app/entrypoint.sh
# HF requires app to listen on 7860
ENV N8N_PORT=7860
ENV N8N_LISTEN_ADDRESS=0.0.0.0
EXPOSE 7860
CMD ["/app/entrypoint.sh"]