File size: 725 Bytes
43d68ea
68d42d5
43d68ea
68d42d5
43d68ea
 
68d42d5
43d68ea
 
 
68d42d5
43d68ea
 
 
 
 
68d42d5
43d68ea
68d42d5
43d68ea
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 \"${@}\"", "--" ]