Skip to content

Commit da1994d

Browse files
committed
Add pycaret_example
1 parent 1b8cd16 commit da1994d

File tree

4 files changed

+1749
-0
lines changed

4 files changed

+1749
-0
lines changed

pycaret_example/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM python:3.8-buster
2+
3+
RUN pip install --upgrade pip setuptools \
4+
&& pip install matplotlib jupyter pandas pycaret
5+
6+
CMD ["jupyter", "notebook", "--allow-root"]

pycaret_example/docker-compose.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: '3.3'
2+
services:
3+
pycaret:
4+
container_name: pycaret_example
5+
image: pycaret_example:0.1.0
6+
build: .
7+
tty: true
8+
stdin_open: true
9+
ipc: host
10+
ports:
11+
- "8886:8886"
12+
volumes:
13+
- ./notebook:/opt/notebook
14+
environment:
15+
- JUPYTER_CONFIG_DIR=/opt/notebook
16+
working_dir: /opt/notebook
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
c = get_config()
2+
c.NotebookApp.ip = '0.0.0.0'
3+
c.NotebookApp.open_browser = False
4+
c.NotebookApp.port = 8886
5+
c.NotebookApp.token = ''

0 commit comments

Comments
 (0)