Spaces:
Running
Running
Create Dockerfile
Browse files- Dockerfile +19 -0
Dockerfile
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM gitpod/openvscode-server:latest
|
2 |
+
USER root
|
3 |
+
|
4 |
+
RUN apt-get update -y && apt-get upgrade -y && apt-get install -y sudo && apt-get install -y python3-pip && pip3 install --upgrade pip
|
5 |
+
RUN apt-get install -y curl gnupg wget htop sudo git git-lfs software-properties-common build-essential libgl1 zip unzip
|
6 |
+
|
7 |
+
RUN add-apt-repository ppa:flexiondotorg/nvtop
|
8 |
+
RUN apt-get upgrade -y
|
9 |
+
RUN apt-get install -y nvtop
|
10 |
+
|
11 |
+
RUN pip3 install pandas scipy matplotlib && \
|
12 |
+
pip3 install ipywidgets && \
|
13 |
+
pip3 install torch torchvision torchaudio
|
14 |
+
|
15 |
+
USER openvscode-server
|
16 |
+
|
17 |
+
EXPOSE 7860
|
18 |
+
|
19 |
+
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\"", "--" ]
|