mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-08-28 05:25:25 +00:00
9 lines
397 B
Text
9 lines
397 B
Text
FROM node:20-bookworm
|
|
WORKDIR /app
|
|
RUN apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/*
|
|
COPY . .
|
|
RUN npm ci --ignore-scripts \
|
|
&& node scripts/patch-tree-sitter-swift.cjs \
|
|
&& (npm rebuild 2>&1 || true) \
|
|
&& cd node_modules/tree-sitter-kotlin && npx --yes node-gyp rebuild 2>&1
|
|
CMD ["npx", "vitest", "run", "test/integration", "--reporter=verbose"]
|