Spaces:
Sleeping
Sleeping
File size: 606 Bytes
6b263d9 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
ENV HOSTNAME=Nobita
# ---- Base packages (ONE shot, ONE layer) ----
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates \
curl \
wget \
git \
sudo \
docker.io \
htop \
btop \
neovim \
lsof \
qemu-system \
cloud-image-utils \
&& rm -rf /var/lib/apt/lists/*
# ---- Install code-server ----
RUN curl -fsSL https://code-server.dev/install.sh | sh
# ---- Workspace ----
WORKDIR /workspace
EXPOSE 7860
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none"] |