gendesign/ops/glitchtip-auth-forwarder/Dockerfile
lekss361 03dc8e6735
All checks were successful
Deploy / changes (push) Successful in 5s
Deploy / build-backend (push) Successful in 27s
Deploy / build-worker (push) Successful in 27s
Deploy / build-frontend (push) Successful in 26s
Deploy / deploy (push) Successful in 54s
feat(security): GlitchTip forwarder для basic_auth 401 events (Phase 2 PR #426) (#430)
2026-05-23 08:42:36 +00:00

14 lines
408 B
Docker

FROM python:3.12-slim
WORKDIR /app
# Устанавливаем только sentry-sdk без лишних extras
RUN pip install --no-cache-dir "sentry-sdk==2.18.0"
COPY forwarder.py .
# nobody (uid 65534) — минимальные привилегии
USER nobody
# -u для unbuffered stdout — docker logs виден сразу без буферизации
CMD ["python", "-u", "forwarder.py"]