Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

目標 #1

Open
arrowkato opened this issue Sep 5, 2020 · 2 comments
Open

目標 #1

arrowkato opened this issue Sep 5, 2020 · 2 comments

Comments

@arrowkato
Copy link
Owner

arrowkato commented Sep 5, 2020

前提

Docker + Jupyter labが動かす。

基本的には、Docker 上に諸々の環境をインストールする

JupyterのサーバーはDockerで動くが、動作させるのは、VSCodeとかのIDEでもOK.

ソースコード自体は、どこに置いても良い

Dockerコンテナでgit cloneではなく、
ホスト側でgit cloneして、docker-composeでvolumeで共有すれば良さそう。

Pythonでimport エラーが出たときに、ほとんど自動で、(Python)パッケージを追加したい

なおかつ、動いているDockerコンテナにはインストールされてほしい

Pythonのパッケージの更新のためにDocker Image(Dockerfile)を再ビルドするのは、作業の一区切りとかのタイミングでまとめてやる想定。

poetry のファイルに追加してすぐにupdateさせるけれども、Docker imageをすぐにビルドし直すわけではない。
Docker imageのビルドは、作業の一区切りのタイミングで良さげ。

Dockerコンテナ内でのパッケージマネージャー(apt-get等)の更新も動いているDockerコンテナには適用する

Docker image(実質Dockerfile)への適用(再ビルド)は、作業の一区切りのタイミングで行えるのが理想。

インストールしたパッケージの日時が取れたりすると良さげ。絞り込みができそう。

@arrowkato
Copy link
Owner Author

それぞれをissueにしたほうがいいかも。

@arrowkato
Copy link
Owner Author

#2 #3を作成して完了。

Pythonでimport エラーが出たときに、ほとんど自動で、(Python)パッケージを追加したい
↑の項目が残っている。

ただし、下記の項目記事を参照するとできそうだが、Jupyterそのものが不要な気がするので、別リポジトリで作成する

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant