mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-27 10:10:27 +01:00
Created docker script
I created a docker script to install and run the project.
This commit is contained in:
17
docker/docker-compose.yml
Normal file
17
docker/docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user