File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 11# Build stage
2- FROM node:18 -alpine AS build
2+ FROM node:20 -alpine AS build
33WORKDIR /app
44
55# Build arguments for version info
@@ -36,6 +36,14 @@ RUN echo "🔍 Build Environment Debug:" && \
3636# Copy package.json (package-lock.json may be absent in this repo; npm ci will fall back to npm install)
3737COPY package.json ./
3838
39+ # Ensure JSON schema files are present in the build context so imports like
40+ # `../schema/latest/shared.schema.json` can be resolved by Vite/Rollup on Linux
41+ # (case-sensitive filesystems and sparse checkouts in CI can sometimes omit
42+ # them when the Docker context is prepared). Copy both top-level `schema`
43+ # and any `src/schema` used during development.
44+ COPY schema ./schema
45+ COPY src/schema ./src/schema
46+
3947# Remove Windows-specific Rollup package and install dependencies
4048RUN npm pkg delete devDependencies.@rollup/rollup-win32-x64-msvc && \
4149 npm ci || npm install
You can’t perform that action at this time.
0 commit comments