21 lines
348 B
Docker
21 lines
348 B
Docker
FROM node:20
|
|
|
|
# Basic tools
|
|
RUN apt-get update && apt-get install -y \
|
|
git \
|
|
curl \
|
|
vim \
|
|
htop \
|
|
openssh-server \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Set up workspace
|
|
WORKDIR /workspace
|
|
|
|
# Optional: Install VS Code Server (commented by default)
|
|
# RUN curl -fsSL https://code-server.dev/install.sh | sh
|
|
|
|
# Default shell
|
|
CMD ["/bin/bash"]
|
|
|