File size: 511 Bytes
9438a57
4346e8f
9438a57
 
4346e8f
 
 
 
 
1
2
3
4
5
6
7
8
9
10
# JavaScript/TypeScript test sandbox: Jest + Babel (+ jsdom) + StrykerJS (harici mutasyon aracı, package.json)
FROM node:22-slim
# procps: StrykerJS alt süreçleri sonlandırırken `ps` çağırır (yoksa "spawn ps ENOENT")
RUN apt-get update && apt-get install -y --no-install-recommends procps && rm -rf /var/lib/apt/lists/*
WORKDIR /opt/toolchain
COPY node-toolchain/package.json ./
RUN PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 npm install --no-audit --no-fund && npm cache clean --force
USER node
WORKDIR /work