mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Docker environment enhancements
- rearranged a Dockerfile to allow for incremental build - switched running from root to "default new user" - added the (easy to opt-out) configuration to use blank password - added python-graphviz which enables DT visualization in notebooks - added nbdime for "sensible notebook comparison" - added custom command to "nbdiff" a notebook with its checkpointed version - added simple README.md
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
version: "3"
|
||||
services:
|
||||
handson-ml:
|
||||
build:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./docker/Dockerfile
|
||||
args:
|
||||
- username=devel
|
||||
container_name: handson-ml
|
||||
image: handson-ml
|
||||
logging:
|
||||
@@ -13,5 +15,5 @@ services:
|
||||
ports:
|
||||
- "8888:8888"
|
||||
volumes:
|
||||
- ../:/usr/src/project
|
||||
command: /opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser --allow-root
|
||||
- ../:/home/devel/handson-ml
|
||||
command: /opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser
|
||||
|
||||
Reference in New Issue
Block a user