Spaces:
Paused

Temo-cpu / Dockerfile
Featherplayz's picture
Rename DockerFile to Dockerfile
dcdb74f verified
Raw History Blame Contribute Delete
429 Bytes
FROM ubuntu:24.04
RUN apt-get update && apt-get install -y \
curl \
sudo \
git \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
RUN curl -fsSL https://code-server.dev/install.sh | sh
RUN useradd -m coder && \
echo "coder ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER coder
WORKDIR /home/coder
EXPOSE 7860
CMD ["code-server", "--bind-addr", "0.0.0.0:7860", "--auth", "none", "/home/coder"]