Skip to content

fix(docker): use lockfile-based installs to avoid Vite type mismatch#11

Merged
audemed44 merged 1 commit into
mainfrom
fix/docker-client-vite-build-types
Mar 1, 2026
Merged

fix(docker): use lockfile-based installs to avoid Vite type mismatch#11
audemed44 merged 1 commit into
mainfrom
fix/docker-client-vite-build-types

Conversation

@audemed44

@audemed44 audemed44 commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • copy the root package-lock.json into both Docker stages
  • switch Docker installs from npm install to lockfile-based npm ci (npm ci --omit=dev in runtime stage)
  • keep .husky copied before install so the guarded install script can run without failures

Why

CI Docker builds were resolving dependencies non-deterministically, which led to mismatched Vite types between root and workspace installs and broke npm run build --workspace=client.

Verification

  • npm run build --workspace=client
  • docker build . --target builder -t pocketlog-builder-fix-verify

@audemed44 audemed44 merged commit 6dc0be5 into main Mar 1, 2026
1 check passed
@audemed44 audemed44 deleted the fix/docker-client-vite-build-types branch March 1, 2026 04:33
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.

1 participant