fix(security): enforce S3 boundaries and configure persistent audit

This commit is contained in:
2026-11-20 19:35:35 +03:00
parent d6957b2f79
commit 7f6e8cbd27
13 changed files with 7976 additions and 34 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ ARG VCS_REF=unknown
LABEL org.opencontainers.image.revision=$VCS_REF
WORKDIR /app
ENV PATH="/app/.venv/bin:$PATH" PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 APP_HOST=0.0.0.0 APP_PORT=8080
RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app
RUN groupadd --gid 10001 app && useradd --uid 10001 --gid app --no-create-home app \
&& python -m pip uninstall -y pip
COPY --from=builder /app/.venv /app/.venv
COPY --from=gateway /out/tls-gateway /usr/local/bin/tls-gateway
COPY src /app/src