fast microservice to accompany n8n workflow
1FROM python:3.12-slim
2
3# Install system dependencies
4RUN apt-get update && apt-get install -y \
5 tesseract-ocr \
6 && rm -rf /var/lib/apt/lists/*
7
8# Set working directory
9WORKDIR /app
10
11# Copy requirements and install
12COPY requirements.txt .
13RUN pip install -r requirements.txt
14
15# Copy application code
16COPY . .
17
18# Expose port
19EXPOSE 8000
20
21# Run the application
22CMD ["python", "main.py"]