diff --git a/Dockerfile b/Dockerfile index 0327411cba..d6b80195bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,6 +39,9 @@ COPY packages/backend-rs packages/backend-rs/ # Compile backend-rs RUN NODE_ENV='production' pnpm run --filter backend-rs build +# Copy/Overwrite index.js to mitigate the bug in napi-rs codegen +COPY packages/backend-rs/index.js packages/backend-rs/built/index.js + # Copy in the rest of the files to compile COPY . ./ RUN NODE_ENV='production' pnpm run --filter firefish-js build