Skip to content

Instantly share code, notes, and snippets.

View gbdevw's full-sized avatar

Guillaume B. gbdevw

  • Lake42
  • Belgium
  • 02:06 (UTC +02:00)
View GitHub Profile
@gbdevw
gbdevw / n8n-docling-dockerfile
Last active August 18, 2025 06:41
N8N with Python environment and Docling
FROM debian:bullseye-slim
ENV NODE_VERSION=20 \
N8N_VERSION=1.102.0 \
PYTHON_PACKAGES_PATH=/home/n8n/.local
# 1. Install base dependencies
RUN apt-get update && apt-get install -y \
curl gnupg git python3 python3-pip python3-venv build-essential bash \
&& apt-get clean
FROM public.ecr.aws/lambda/python:3.8
COPY ./app ./app
COPY ./requirements.txt ./requirements.txt
RUN pip install -r ./requirements.txt
CMD ["app.app.handler"]
@gbdevw
gbdevw / app.py
Last active December 29, 2020 14:52
FastAPI application
from fastapi import FastAPI, HTTPException
from mangum import Mangum
...
###############################################################################
# Application object #
###############################################################################
app = FastAPI()