Spaces:
Runtime error
Runtime error
Commit
·
3e5ae7b
1
Parent(s):
60f5fad
Upload 2 files
Browse files- Dockerfile +20 -0
- README.md +5 -5
Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
|
12 |
+
RUN pip3 install pandas scipy matplotlib && \
|
13 |
+
pip3 install ipywidgets && \
|
14 |
+
pip3 install torch torchvision torchaudio
|
15 |
+
|
16 |
+
USER openvscode-server
|
17 |
+
|
18 |
+
EXPOSE 7860
|
19 |
+
|
20 |
+
ENTRYPOINT [ "/bin/sh", "-c", "exec ${OPENVSCODE_SERVER_ROOT}/bin/openvscode-server --host 0.0.0.0 --port 7860 --without-connection-token \"${@}\"", "--" ]
|
README.md
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
-
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: Visual Studio Code
|
3 |
+
emoji: 💻
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: blue
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
+
duplicated_from: camenduru/vscode
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|