Skip to content

Commit 04c9d9d

Browse files
author
Ricardo Ocampo
committed
Update docker-compose.yml and re-organize project.
1 parent 7b501ee commit 04c9d9d

File tree

6 files changed

+14
-25
lines changed

6 files changed

+14
-25
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
This file was deleted.

docker-compose.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
version: '3.6'
1+
version: "3.6"
22
services:
33
notebook:
4-
build: .
4+
build:
5+
context: .
6+
dockerfile: docker/Dockerfile
57
image: ocampor/notebook:1.0.0-base
8+
working_dir: /notebooks
69
ports:
7-
- 8000:8000
10+
- 8888:8888
811
volumes:
9-
- '${DATA_PATH}:/home/ocampor/data'
10-
- './notebooks:/home/ocampor/notebooks'
11-
12+
- ./notebooks:/notebooks

docker/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM jupyter/minimal-notebook:latest
2+
3+
ADD requirements /requirements
4+
5+
RUN pip install -r /requirements/requirements.txt

entrypoint.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

install_svm.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

requirements.txt renamed to requirements/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ scikit-image>=0.14.0
1111
scikit-learn>=0.21.3
1212

1313
# Image
14-
Pillow>=5.2.0
15-
opencv-python>=3.4.2.17
14+
imageio==2.8.0
15+
opencv-python==3.4.2.17
1616
image-quality>=1.0.0
1717
libsvm>=3.23.0

0 commit comments

Comments
 (0)