docker tools flag
This commit is contained in:
@@ -30,4 +30,9 @@ EXPOSE ${PORT:-8000}
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
|
||||
CMD sh -c 'curl -f http://localhost:${PORT:-8000}/health || exit 1'
|
||||
|
||||
CMD ["uv", "run", "main.py", "--transport", "streamable-http"]
|
||||
# Set environment variables for Python startup args
|
||||
ENV TOOL_TIER=""
|
||||
ENV TOOLS=""
|
||||
|
||||
# Use shell form to expand environment variables
|
||||
CMD uv run main.py --transport streamable-http ${TOOL_TIER:+--tool-tier "$TOOL_TIER"} ${TOOLS:+--tools $TOOLS}
|
||||
|
||||
Reference in New Issue
Block a user