mirror of
https://github.com/0xMassi/webclaw.git
synced 2026-04-25 00:06:21 +02:00
fix: use ENTRYPOINT instead of CMD in Dockerfiles for proper arg passthrough
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
|
|
@ -3,6 +3,13 @@
|
|||
All notable changes to webclaw are documented here.
|
||||
Format follows [Keep a Changelog](https://keepachangelog.com/).
|
||||
|
||||
## [0.3.13] — 2026-04-10
|
||||
|
||||
### Fixed
|
||||
- **Docker CMD replaced with ENTRYPOINT**: both `Dockerfile` and `Dockerfile.ci` now use `ENTRYPOINT ["webclaw"]` instead of `CMD ["webclaw"]`. CLI arguments (e.g. `docker run webclaw https://example.com`) now pass through correctly instead of being ignored.
|
||||
|
||||
---
|
||||
|
||||
## [0.3.12] — 2026-04-10
|
||||
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ resolver = "2"
|
|||
members = ["crates/*"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.3.12"
|
||||
version = "0.3.13"
|
||||
edition = "2024"
|
||||
license = "AGPL-3.0"
|
||||
repository = "https://github.com/0xMassi/webclaw"
|
||||
|
|
|
|||
|
|
@ -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"]
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ ARG BINARY_DIR
|
|||
COPY ${BINARY_DIR}/webclaw /usr/local/bin/webclaw
|
||||
COPY ${BINARY_DIR}/webclaw-mcp /usr/local/bin/webclaw-mcp
|
||||
|
||||
CMD ["webclaw"]
|
||||
ENTRYPOINT ["webclaw"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue