handson-ml/docker/docker-compose.yml

22 lines
469 B
YAML
Raw Normal View History

version: "3"
services:
handson-ml:
build:
context: ../
dockerfile: ./docker/Dockerfile
args:
- username=devel
- userid=1000
container_name: handson-ml
image: handson-ml
logging:
driver: json-file
options:
max-size: 50m
ports:
- "8888:8888"
- "6006:6006"
volumes:
- ../:/home/devel/handson-ml
command: /opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser