security: add non-root user to Dockerfile (#120) #122

Open
Claude wants to merge 2 commits from issue/120-security-add-non-root-user-to-dockerfile into main

2 Commits

Author SHA1 Message Date
Cal Corum
8ed7405c8a fix: move uvicorn to port 8080 so non-root user can bind
Non-root users cannot bind to privileged ports (<1024) without ambient
capabilities, which Docker does not set by default. Switch uvicorn,
healthcheck, and docker-compose port mapping from 80 to 8080. Also
combine the two RUN instructions for user/directory setup into one layer.

Addresses review feedback on #122.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 14:31:11 -05:00
Cal Corum
17a39e7eca security: add non-root user to Dockerfile (#120)
Closes #120

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-10 14:31:02 -05:00