Spaces:
Runtime error
Runtime error
sjs
Browse files- Dockerfile +4 -4
- start_server.sh +3 -3
Dockerfile
CHANGED
@@ -73,11 +73,11 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
|
73 |
bash /root/on_startup.sh
|
74 |
|
75 |
# install code cli
|
76 |
-
RUN curl -o vscode_cli.tar.gz https://az764295.vo.msecnd.net/
|
77 |
-
RUN tar -xf vscode_cli.tar.gz
|
78 |
RUN echo *
|
79 |
-
RUN cp code
|
80 |
-
RUN chmod +x /usr/local/bin/code
|
81 |
|
82 |
#######################################
|
83 |
# End root user section
|
|
|
73 |
bash /root/on_startup.sh
|
74 |
|
75 |
# install code cli
|
76 |
+
RUN curl -o vscode_cli.tar.gz https://az764295.vo.msecnd.net/stable/f1b07bd25dfad64b0167beb15359ae573aecd2cc/vscode_cli_alpine_x64_cli.tar.gz
|
77 |
+
RUN tar -xf vscode_cli.tar.gz
|
78 |
RUN echo *
|
79 |
+
RUN cp code /usr/local/bin
|
80 |
+
RUN chmod +x /usr/local/bin/code
|
81 |
|
82 |
#######################################
|
83 |
# End root user section
|
start_server.sh
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
-
code
|
4 |
-
|
5 |
-
|
6 |
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
7 |
|
8 |
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
code --install-extension ms-toolsai.jupyter ms-toolsai.jupyter
|
4 |
+
# https://az764295.vo.msecnd.net/insider/35419fc016b8d3d5dbc59aa11a0be957b0897309/code-insiders_1.84.0-1698404571_amd64.deb
|
5 |
+
# https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64
|
6 |
JUPYTER_TOKEN="${JUPYTER_TOKEN:=huggingface}"
|
7 |
|
8 |
echo "Starting Jupyter Lab with token $JUPYTER_TOKEN"
|