mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
- Provide Docker Compose test harness with CPU and memory resource limits\n- Add single-node CPU scaling benchmark suite (0.5 to 4.0 vCPU)\n- Add distributed multi-node scaling and budget benchmarks (, , /mo)\n- Support partitioned service topologies (dedicated API, pipeline worker, and delivery worker instances)\n- Implement configurable provider latency simulation with randomized network jitter\n- Support dynamic client and worker concurrency tuning
25 lines
439 B
Docker
25 lines
439 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy root build configurations, sources, packages, and prebuilt dist
|
|
COPY package*.json tsconfig.json tsdown.config.ts ./
|
|
COPY packages/ ./packages/
|
|
COPY src/ ./src/
|
|
COPY dist/ ./dist/
|
|
|
|
RUN npm install --ignore-scripts
|
|
|
|
# Setup profiling app
|
|
WORKDIR /app/profiling
|
|
COPY profiling/package*.json profiling/tsconfig.json ./
|
|
RUN npm install
|
|
|
|
COPY profiling/src/ ./src/
|
|
|
|
EXPOSE 3000
|
|
|
|
CMD ["npm", "start"]
|
|
|
|
|