SevdanurGenc's picture
Upload 300 files
9438a57 verified
Raw History Blame Contribute Delete
511 Bytes
# 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