Spaces:
Runtime error
Runtime error
Download Dockerfile from TogetherAI/Visual_Studio_Pod: direct link, hf CLI and curl.
- Browser
- Download file 725 Bytes
-
https://huggingface.co/spaces/TogetherAI/Visual_Studio_Pod/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TogetherAI/Visual_Studio_Pod/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TogetherAI/Visual_Studio_Pod/resolve/main/Dockerfile
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 \"${@}\"", "--" ] |