Created
April 11, 2020 03:22
-
-
Save yeongseon/01552589ef16000473e84c94e8eaf966 to your computer and use it in GitHub Desktop.
docker-compose for kaggle/python
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
version: '2' | |
services: | |
kaggle: | |
image: kaggle/python | |
container_name: kaggle | |
user: root | |
ports: | |
- "8888:8888" | |
volumes: | |
- .:/notebooks | |
command: > | |
bash -c " | |
pip install jupyter_contrib_nbextensions && | |
pip install jupyter_nbextensions_configurator && | |
jupyter contrib nbextension install --user && | |
jupyter notebook --allow-root --no-browser --ip="0.0.0.0" --notebook-dir=/notebooks --NotebookApp.token='' --allow-root | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment