container: make sure to use the correct backend-rs/built/index.js
This commit is contained in:
parent
1a46d1394c
commit
c345d80f4a
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,9 @@ COPY packages/backend-rs packages/backend-rs/
|
||||||
# Compile backend-rs
|
# Compile backend-rs
|
||||||
RUN NODE_ENV='production' pnpm run --filter backend-rs build
|
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 in the rest of the files to compile
|
||||||
COPY . ./
|
COPY . ./
|
||||||
RUN NODE_ENV='production' pnpm run --filter firefish-js build
|
RUN NODE_ENV='production' pnpm run --filter firefish-js build
|
||||||
|
|
Loading…
Reference in a new issue