9 lines
300 B
Docker
9 lines
300 B
Docker
FROM node:24-bookworm
|
|
RUN apt-get update && apt-get install -y --no-install-recommends python3 ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
WORKDIR /app
|
|
COPY package.json package-lock.json ./
|
|
RUN npm ci
|
|
COPY . .
|
|
RUN python3 scripts/prepare-ci-audit.py
|
|
CMD ["sh", "-c", "npm test && npm run build"]
|