13 lines
334 B
Docker
13 lines
334 B
Docker
FROM rust:1-bookworm
|
|
|
|
# Add Node.js
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
nodejs npm \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Verify installations
|
|
RUN rustc --version && cargo --version && node --version && npm --version
|
|
|
|
LABEL maintainer="homelab" \
|
|
description="Rust 1 + Node.js pre-installed"
|