/local-colab

Primary LanguageDockerfile

AI

From Debian

Installation

pip3 install poetry jupyter jupyter_http_over_ws
jupyter serverextension enable --py jupyter_http_over_ws
poetry install 
poetry run jupyter serverextension enable --py jupyter_http_over_ws
poetry run python3 -m spacy download ja_core_news_trf

Run

poetry run jupyter notebook --NotebookApp.allow_origin=https://colab.research.google.com --NotebookApp.port_retries=0 --port=8888 --no-browser

From Docker

docker build -t colab .
docker run -p 8888:8888 colab