Skip to content

fix: copy full app to Docker image (tsx runtime deps) - #9

Closed
stubbi wants to merge 1 commit into
mainfrom
fix/docker-tsx-runtime-deps
Closed

fix: copy full app to Docker image (tsx runtime deps)#9
stubbi wants to merge 1 commit into
mainfrom
fix/docker-tsx-runtime-deps

Conversation

@stubbi

@stubbi stubbi commented Mar 21, 2026

Copy link
Copy Markdown

Urgent — production is in CrashLoopBackOff

The server uses tsx at runtime as an ESM loader that transpiles workspace TypeScript source on the fly. The selective dist/-only copy broke this because compiled JS imports paths like @paperclipai/db/src/index.ts.

Reverts to copying the full /app directory. Image size is still controlled by .dockerignore.

🤖 Generated with Claude Code

The server uses tsx at runtime to transpile workspace TypeScript
source files on the fly. Selective dist-only copy breaks because
compiled server JS imports @paperclipai/db/src/index.ts etc.

Copy the full built /app instead. Image size is still controlled
by .dockerignore excluding tests, docs, desktop, and dev files.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@stubbi stubbi closed this Mar 21, 2026
@stubbi
stubbi deleted the fix/docker-tsx-runtime-deps branch March 23, 2026 15:30
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