mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-18 20:14:44 +08:00
security: patch orjson DoS and harden container/frontend (#852)
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user