From 4b31cdcb546e0bb22dc7457c79514c26b5d165af Mon Sep 17 00:00:00 2001 From: Soltus Date: Sat, 1 Jun 2024 01:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9B=86=E6=88=90=20jupyter-binder-python=20#6?= =?UTF-8?q?50?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/extensions/Sillot/package.json | 2 +- Dockerfile | 6 ++++-- app/package.json | 2 +- docs/starlight/package.json | 2 +- package.json | 2 +- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.vscode/extensions/Sillot/package.json b/.vscode/extensions/Sillot/package.json index 3c7c40a770..48af426863 100644 --- a/.vscode/extensions/Sillot/package.json +++ b/.vscode/extensions/Sillot/package.json @@ -2,7 +2,7 @@ "name": "sillot", "displayName": "汐洛 Sillot", "description": "汐洛彖夲肜矩阵(Sillot T☳Converbenk Matrix)为智慧新彖务服务。此插件为汐洛官方插件,提供多功能一体化集成。", - "version": "0.35.2292", + "version": "0.35.2293", "preview": true, "repository": "https://github.com/Hi-Windom/Sillot", "publisher": "Hi-Windom", diff --git a/Dockerfile b/Dockerfile index ec461512bf..154ea43fa6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,6 +42,7 @@ FROM soltus/jupyter-binder-python:latest WORKDIR /opt/Sillot/ COPY --from=GO_BUILD /opt/Sillot/ /opt/Sillot/ COPY --from=denoland/deno:bin /deno /usr/local/bin/deno +COPY --from=tini /tini /tini LABEL maintainer="Soltus<694357845@qq.com>" USER root @@ -50,10 +51,11 @@ RUN sudo apt-get update && \ sudo rm -rf /var/lib/apt/lists/* RUN sudo chown -R root:root /opt/Sillot/ -RUN sudo chmod +x /opt/Sillot/kernel /usr/local/bin/deno +RUN sudo chmod +x /opt/Sillot/kernel /usr/local/bin/deno /tini ENV TZ=Asia/Shanghai ENV RUN_IN_CONTAINER=true EXPOSE 58131 -ENTRYPOINT [ "/opt/Sillot/kernel" ] +ENTRYPOINT [ "/tini", "--" ] +CMD ["sh", "-c", "/opt/Sillot/kernel & jupyter lab --port=8888 --ip=* --no-browser --allow-root"] diff --git a/app/package.json b/app/package.json index e8cda6fee3..a4688e7de6 100644 --- a/app/package.json +++ b/app/package.json @@ -1,6 +1,6 @@ { "name": "sillot", - "version": "0.35.2292", + "version": "0.35.2293", "syv": "3.1.0", "sypv": "[3.0.16]", "description": "Build Your Eternal Digital Garden", diff --git a/docs/starlight/package.json b/docs/starlight/package.json index d35a982f9d..4133b65278 100644 --- a/docs/starlight/package.json +++ b/docs/starlight/package.json @@ -1,7 +1,7 @@ { "name": "starlight", "type": "module", - "version": "0.35.2292", + "version": "0.35.2293", "scripts": { "test": "echo 'Test your sister day by day'", "dev": "astro dev", diff --git a/package.json b/package.json index 03e2cec473..c2ed710358 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Sillot-workspace", - "version": "0.35.2292", + "version": "0.35.2293", "description": "汐洛 pnpm 工作区", "packageManager": "pnpm@9.1.4", "scripts": {