Files
nullcart/backend/Dockerfile.prod
T
nobswebdev 84bfe634ab Bump Docker Node images to 22.23.4 for October 2026 security fixes.
Node 20 is not in the patched release line; 22.23.4 addresses the high-severity TLS, DNS, and Brotli issues from the Node.js security release.
2026-10-21 17:56:55 +02:00

16 lines
162 B
Docker

FROM node:22.23.4-alpine
WORKDIR /backend
RUN apk add --no-cache curl
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build
CMD ["node", "dist/main"]