-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #799 from Hi-Windom/v0.35
集成 jupyter-binder-python #650
- Loading branch information
Showing
6 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ RUN apt-get update && \ | |
mv /Hi-Windom/Sillot/app/guide/ /opt/Sillot/ && \ | ||
mv /Hi-Windom/Sillot/app/changelogs/ /opt/Sillot/ && \ | ||
mv /Hi-Windom/Sillot/kernel/kernel /opt/Sillot/ && \ | ||
mv /Hi-Windom/Sillot/Docker_entry.sh /opt/Sillot/ && \ | ||
find /opt/Sillot/ -name .git | xargs rm -rf | ||
|
||
FROM soltus/jupyter-binder-python:latest | ||
|
@@ -51,12 +52,13 @@ 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 /tini | ||
RUN sudo chmod +x /opt/Sillot/kernel /usr/local/bin/deno /tini /opt/Sillot/docker-sillot-entrypoint.sh | ||
|
||
ENV TZ=Asia/Shanghai | ||
ENV RUN_IN_CONTAINER=true | ||
EXPOSE 58131 | ||
LABEL maintainer="Soltus<[email protected]>" | ||
|
||
ENTRYPOINT [ "/tini", "--" ] | ||
CMD ["sh", "-c", "/opt/Sillot/kernel & jupyter lab --port=8888 --ip=* --no-browser --allow-root"] | ||
ENV SILLOT_ARGS_KERNEL="--accessAuthCode 58131" | ||
ENV SILLOT_ARGS_JUPYTER="--port=8888 --ip=* --no-browser --allow-root" | ||
ENTRYPOINT [ "/tini", "--", "/opt/Sillot/docker-sillot-entrypoint.sh" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
/opt/Sillot/kernel $SILLOT_ARGS_KERNEL & | ||
jupyter lab $SILLOT_ARGS_JUPYTER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "Sillot-workspace", | ||
"version": "0.35.2294", | ||
"version": "0.35.2295", | ||
"description": "汐洛 pnpm 工作区", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
|