FROM node:22-bookworm # Node.js already installed, ensure npm is up to date RUN apt-get update && apt-get upgrade -y \ && rm -rf /var/lib/apt/lists/* # Verify installations RUN node --version && npm --version LABEL maintainer="homelab" \ description="Node.js 22 with latest npm"