mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-07-05 04:22:10 +02:00
fix: use ENTRYPOINT instead of CMD in Dockerfiles for proper arg passthrough
Some checks failed
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Docs (push) Has been cancelled
Some checks failed
CI / Test (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Docs (push) Has been cancelled
Docker CMD gets overridden by any args, while ENTRYPOINT receives them. This fixes `docker run webclaw <url>` silently ignoring the URL argument. Bump to 0.3.13. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
050b2ef463
commit
78e198a347
4 changed files with 11 additions and 4 deletions
|
|
@ -58,5 +58,5 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||
COPY --from=builder /build/target/release/webclaw /usr/local/bin/webclaw
|
||||
COPY --from=builder /build/target/release/webclaw-mcp /usr/local/bin/webclaw-mcp
|
||||
|
||||
# Default: run the CLI
|
||||
CMD ["webclaw"]
|
||||
# Default: run the CLI (ENTRYPOINT so args pass through)
|
||||
ENTRYPOINT ["webclaw"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue