ShadowVNs commited on
Commit
b810acb
·
verified ·
1 Parent(s): dcd8877

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM gitpod/openvscode-server:latest
2
+
3
+ USER root
4
+
5
+ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
6
+ RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip
7
+
8
+ RUN add-apt-repository ppa:flexiondotorg/nvtop
9
+ RUN apt-get upgrade -y
10
+ RUN apt-get install -y nvtop
11
+ RUN apt install default-jdk -y
12
+ RUN apt-get install screen -y
13
+ RUN apt-get install wget
14
+ RUN curl -sL https://deb.nodesource.com/setup_18.x
15
+ RUN sudo apt install nodejs -y
16
+ RUN pip3 install pandas scipy matplotlib && \
17
+ pip3 install ipywidgets && \
18
+ pip3 install torch torchvision torchaudio
19
+
20
+ USER openvscode-server
21
+
22
+ EXPOSE 7860
23
+
24
+ ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\"", "--" ]