Update docker image for 2nd edition

This commit is contained in:
Aurélien Geron
2019-06-04 16:43:14 +08:00
parent f680e49ea2
commit fb47fab0c8
7 changed files with 45 additions and 75 deletions

View File

@@ -1,15 +1,15 @@
version: "3"
services:
handson-ml:
handson-ml2:
build:
context: ../
dockerfile: ./docker/Dockerfile
args:
- username=devel
- userid=1000
container_name: handson-ml
image: handson-ml
restart: unless-stopped
container_name: handson-ml2
image: handson-ml2
restart: unless-stopped
logging:
driver: json-file
options:
@@ -18,5 +18,5 @@ services:
- "8888:8888"
- "6006:6006"
volumes:
- ../:/home/devel/handson-ml
- ../:/home/devel/handson-ml2
command: /opt/conda/bin/jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser