Fix Dockerfile to use ENTRYPOINT for argument passing

CMD was being replaced entirely when passing arguments.
ENTRYPOINT makes ramble the base command so arguments work:
  docker run image --provider mock

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rob 2025-12-30 03:41:21 -04:00
parent aceb03f612
commit c068b387a1
1 changed files with 4 additions and 2 deletions

View File

@ -37,8 +37,10 @@ RUN pip install --no-cache-dir -e .
# Verify installation
RUN ramble --help
# Default: show help
CMD ["ramble", "--help"]
# ENTRYPOINT makes ramble the base command
# CMD provides default args (can be overridden)
ENTRYPOINT ["ramble"]
CMD ["--help"]
# ==============================================================================
# Usage Examples