Files
homelab/k8s/infra/forgejo-runner-images/Dockerfile.node
T

12 lines
292 B
Docker
Raw Normal View History

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"