Implement user-engine portal foundation
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s

This commit is contained in:
tegwick 2026-07-27 22:45:42 +02:00
parent 60446e8b40
commit d9d49c9c90
12 changed files with 676 additions and 6 deletions

12
Containerfile Normal file
View file

@ -0,0 +1,12 @@
FROM python:3.12-slim@sha256:fd10a15414a5b0a829ebdb78573a84e244fcb3857c5f4c2ec218963440ce9ea2
RUN useradd --create-home --uid 10001 user-engine
WORKDIR /app
COPY pyproject.toml README.md /app/
COPY src /app/src
RUN pip install --no-cache-dir ".[postgres]"
USER 10001:10001
EXPOSE 8080
ENV PYTHONUNBUFFERED=1
CMD ["python", "-m", "user_engine.runtime"]