From 19699619218001964dea439a9c8f157597b756f0 Mon Sep 17 00:00:00 2001 From: tegwick Date: Mon, 27 Jul 2026 21:10:49 +0200 Subject: [PATCH] Package qonto runtime container --- .dockerignore | 7 +++++++ Dockerfile | 14 ++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .dockerignore create mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..f48cea1 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,7 @@ +.git +.pytest_cache +.ruff_cache +__pycache__ +*.pyc +.venv +workplans diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..80f7a21 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM python:3.12-slim@sha256:d764629ce0ddd8c71fd371e9901efb324a95789d2315a47db7e4d27e78f1b0e9 + +ENV PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + PORT=8080 + +WORKDIR /app +COPY . /app +RUN pip install --no-cache-dir . \ + && useradd --system --uid 10001 --home-dir /nonexistent qonto + +USER 10001 +EXPOSE 8080 +ENTRYPOINT ["qonto-assistant"]