Update Dockerfile
Browse files12345678910111213FROM eclipse-temurin:17-jre-jammy# Install dependencies: curl, jq, sudo, nodejs, and tmuxUSER rootRUN apt-get update && apt-get install -y curl jq sudo nodejs tmux && rm -rf /var/lib/apt/lists/*# Create the Hugging Face userRUN useradd -m -u 1000 minecraft# Give the restricted 'minecraft' user passwordless sudo access to unlock the bucketRUN echo "minecraft ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoersUSER minecraft12345678910111213FROM eclipse-temurin:17-jre-jammy# ADDED 'npm' to the install list here!USER rootRUN apt-get update && apt-get install -y curl jq sudo nodejs npm tmux && rm -rf /var/lib/apt/lists/*# Create the Hugging Face userRUN useradd -m -u 1000 minecraft# Give the restricted 'minecraft' user passwordless sudo accessRUN echo "minecraft ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoersUSER minecraft
Dockerfile+3-3