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:
parent
aceb03f612
commit
c068b387a1
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue