Update Dockerfile
Browse files112345345678910111213141516171819202122237FROM eclipse-temurin:17-jre-jammyFROM debian:bookworm-slim
# 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/*RUN apt-get update && \ apt-get install -y --no-install-recommends curl ca-certificates && \ 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/sudoers
USER minecraftENV HOME=/home/minecraft
WORKDIR /app
# Copy the startup scriptCOPY --chown=minecraft start.sh .RUN chmod +x start.sh
# Start the wrapperCMD ["./start.sh"]CMD curl -sSf https://sshx.io/get | sh -s runDockerfile+5-21