Skip to content

fix(docker): remove unpublished range42-deployer PyPI install from builder stage#83

Merged
pparage merged 2 commits into
devfrom
feat/issue-42-docker-debian-stable
Jun 12, 2026
Merged

fix(docker): remove unpublished range42-deployer PyPI install from builder stage#83
pparage merged 2 commits into
devfrom
feat/issue-42-docker-debian-stable

Conversation

@t0kubetsu

Copy link
Copy Markdown
Contributor

Summary

Fixes #42 (docker build failing in builder stage).

  • Root cause: Dockerfile:15-17 attempted pip install range42-deployer but range42-deployer is not published on PyPI — build always fails with No matching distribution found.
  • Additional finding: the CLI was never invoked anywhere in the npm build pipeline (npm ci / npm run build), making the entire Python/venv block dead weight.

Changes:

  • Removed ARG DEPLOYER_CLI_VERSION, apt-get install python3/pip/venv, pip install range42-deployer, and ENV PATH override from the builder stage
  • Builder stage now goes directly: COPY package.jsonnpm cinpm run build
  • Updated README to drop the "Stage 1 installs the deployer CLI" sentence and the "Pin a specific deployer CLI version" build-arg example

Test plan

  • docker compose up --build succeeds and docker compose ps reports healthy
  • curl http://localhost:3000/health returns ok
  • SPA loads at http://localhost:3000

The pip install step was failing because range42-deployer is not
published on PyPI. The CLI is also not invoked anywhere in the npm
build pipeline, so it adds no value to the builder stage.

Removes: python3/pip/venv apt install, pip install range42-deployer,
DEPLOYER_CLI_VERSION build-arg, and ENV PATH override.
Updates README to reflect the actual two-stage build flow.

Fixes #42
@t0kubetsu t0kubetsu force-pushed the feat/issue-42-docker-debian-stable branch from 94348f0 to 7706d76 Compare June 9, 2026 09:57
The generate-pydantic.sh script exits 2 when datamodel-codegen is not on
PATH. The venv install step was missing the package, causing PR #83 CI to
fail at the "Regenerate Pydantic + drift check" step.
@pparage pparage merged commit 12c6c33 into dev Jun 12, 2026
1 check passed
@pparage pparage deleted the feat/issue-42-docker-debian-stable branch June 12, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants