security: patch orjson DoS and harden container/frontend (#852)

This commit is contained in:
Rin
2026-02-13 09:15:39 +07:00
committed by GitHub
parent b92ad7e39a
commit ba45c1a3a9
4 changed files with 57 additions and 35 deletions

View File

@@ -26,4 +26,7 @@ RUN --mount=type=cache,target=/root/.cache/uv \
EXPOSE 8000
# Run the application.
RUN useradd -m appuser
USER appuser
CMD ["uv", "run", "python", "server.py", "--host", "0.0.0.0", "--port", "8000"]