Created docker script

I created a docker script to install and run the project.
This commit is contained in:
Steven Bunkley
2017-11-21 13:24:43 -06:00
parent 8a6c7da0a9
commit ca1806aa1d
3 changed files with 48 additions and 0 deletions

17
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,17 @@
version: "3"
services:
handson-ml:
build:
context: ../
dockerfile: ./docker/Dockerfile
container_name: handson-ml
image: handson-ml
logging:
driver: json-file
options:
max-size: 50m
ports:
- "8888:8888"
volumes:
- ../:/usr/src/project
command: /opt/conda/bin/jupyter notebook --ip='*' --port=8888 --no-browser --allow-root