Docker Git 勉強会 - matsuoinstitute/chatbot-demo GitHub Wiki
Docker
ファイル構造
- devcontainer.json:Dockerの設計図で、ここでrequirements.txtに書いてあるライブラリをダウンロードする
- Dockerfike:同じくDockerの設計図で、ここでpythonのダウンロードする
- .vscode:setting.json:vscode上の設定をいじれるファイル、今回は省略
- hello.py:動作検証用のファイル、省略可
- requierements.txt:ここで書いたライブラリをコンテナ作成時、リビルドの時にインストールする。
poetry
-
devcontainer.json:Dockerの設計図で、ここでpoetryをダウンロードする
-
Dockerfike:同じくDockerの設計図で、ここでpythonのダウンロードする
-
.vscode:setting.json:vscode上の設定をいじれるファイル、今回は省略
-
hello.py:動作検証用のファイル、省略可
-
構築後追加されるファイル
-
pyproject.toml:Dockerのrequirements.txtのようなもの、ダウンロードされたライブラリは自動で書き込まれる
Git
- clone
- git clone URL:リモートリポジトリの内容をローカルにコピーするコマンド
chatbot_demoのURL https://github.com/matsuoinstitute/chatbot-demo.git
- branch + marge
以下の記事を参照してください