Update Dockerfile

This commit is contained in:
Madiator2011 2024-08-06 15:33:48 +02:00 committed by GitHub
parent 6094896bcc
commit 65577e52f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,13 +29,11 @@ RUN pip install --upgrade --no-cache-dir pip
COPY ms-toolsai.jupyter-2024.7.0.vsix /tmp/ms-toolsai.jupyter-2024.7.0.vsix COPY ms-toolsai.jupyter-2024.7.0.vsix /tmp/ms-toolsai.jupyter-2024.7.0.vsix
# Install code-server and extensions # Install code-server and extensions
RUN curl -fsSL https://code-server.dev/install.sh | sh RUN curl -fsSL https://code-server.dev/install.sh | sh && \
RUN for i in 1 2 3; do \
code-server --install-extension ms-python.python && \ code-server --install-extension ms-python.python && \
code-server --install-extension ms-toolsai.vscode-jupyter-powertoys code-server --install-extension ms-toolsai.vscode-jupyter-powertoys && \
break || sleep 10; \ code-server --install-extension /tmp/ms-toolsai.jupyter-2024.7.0.vsix
done
RUN code-server --install-extension /tmp/ms-toolsai.jupyter-2024.7.0.vsix
RUN rm /tmp/ms-toolsai.jupyter-2024.7.0.vsix RUN rm /tmp/ms-toolsai.jupyter-2024.7.0.vsix
# Pre-install Jupyter kernel and OhMyRunPod # Pre-install Jupyter kernel and OhMyRunPod