Package qonto runtime container

This commit is contained in:
tegwick 2026-07-27 21:10:49 +02:00
parent 57617089ce
commit 1969961921
2 changed files with 21 additions and 0 deletions

7
.dockerignore Normal file
View file

@ -0,0 +1,7 @@
.git
.pytest_cache
.ruff_cache
__pycache__
*.pyc
.venv
workplans

14
Dockerfile Normal file
View file

@ -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"]