Deploy durable tenant authority runtime

This commit is contained in:
tegwick 2026-08-09 01:35:00 +02:00
parent 8bd0741104
commit 1e44cace1f
6 changed files with 210 additions and 2 deletions

10
Containerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:3.12-slim
RUN useradd --system --uid 10001 --create-home tenant-engine
WORKDIR /app
COPY pyproject.toml README.md LICENSE ./
COPY src ./src
RUN pip install --no-cache-dir .
USER 10001
EXPOSE 8090
ENV TENANT_ENGINE_HOST=0.0.0.0 TENANT_ENGINE_HTTP_PORT=8090
CMD ["tenant-engine"]