vscode / Dockerfile
MMars's picture
Duplicate from camenduru/vscode
f8d81f0
raw
history blame contribute delete
No virus
725 Bytes
FROM gitpod/openvscode-server:latest
USER root
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip
RUN add-apt-repository ppa:flexiondotorg/nvtop
RUN apt-get upgrade -y
RUN apt-get install -y nvtop
RUN pip3 install pandas scipy matplotlib && \
pip3 install ipywidgets && \
pip3 install torch torchvision torchaudio
USER openvscode-server
EXPOSE 7860
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\"", "--" ]