chore(docker): add scripts for fetching and resolving Micron WASM binaries in Docker setup

This commit is contained in:
Ivan 2026-05-02 09:26:12 -05:00
parent d79ec523b7
commit a09792a116
No known key found for this signature in database
GPG key ID: B84314E2D9332AE0
4 changed files with 12 additions and 0 deletions

View file

@ -105,6 +105,10 @@ test-results/
playwright-report/
blob-report/
# Host-built micron WASM binaries (Docker/build fetch fresh copies)
meshchatx/src/frontend/public/vendor/micron-parser-go/micron-parser-go.wasm
meshchatx/src/frontend/public/vendor/micron-parser-go/wasm_exec.js
.hypothesis
.hypothesis/

4
.gitignore vendored
View file

@ -117,6 +117,10 @@ blob-report/
meshchat-config/
# micron-parser-go WASM (fetched at build via scripts/fetch-micron-wasm.mjs)
meshchatx/src/frontend/public/vendor/micron-parser-go/micron-parser-go.wasm
meshchatx/src/frontend/public/vendor/micron-parser-go/wasm_exec.js
.hypothesis
.hypothesis/

View file

@ -19,6 +19,8 @@ WORKDIR /src
RUN apk add --no-cache git
COPY package.json pnpm-lock.yaml vite.config.js ./
COPY patches ./patches
COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
COPY meshchatx/src/frontend ./meshchatx/src/frontend
RUN npm install -g pnpm@10.33.0 && \
pnpm config set verify-store-integrity true && \

View file

@ -16,6 +16,8 @@ WORKDIR /src
RUN apk add --no-cache git
COPY package.json pnpm-lock.yaml vite.config.js ./
COPY patches ./patches
COPY scripts/fetch-micron-wasm.mjs scripts/fetch-micron-wasm.mjs
COPY scripts/micron-wasm-resolve-bundled.mjs scripts/micron-wasm-resolve-bundled.mjs
COPY meshchatx/src/frontend ./meshchatx/src/frontend
RUN npm install -g pnpm@10.33.0 && \
pnpm config set verify-store-integrity true && \