FROM python:3.9 RUN apt update -y && apt install -y curl RUN curl -fsSL https://code-server.dev/install.sh | sh RUN apt install -y \ git gcc wget gzip busybox sudo ffmpeg RUN useradd user RUN mkdir /home/user RUN chown user /home/user USER user COPY setup.sh /home/user/setup.sh RUN bash /home/user/setup.sh USER root RUN busybox --install /bin RUN chsh -s bash USER root CMD bash -c "code-server --bind-addr 0.0.0.0:6378 --auth none"