Skip to content

Commit 7f5a18c

Browse files
authored
Merge pull request #5 from suaaa7/pycaret_example
Add pycaret_example
2 parents 1b8cd16 + faa3c56 commit 7f5a18c

File tree

5 files changed

+1754
-0
lines changed

5 files changed

+1754
-0
lines changed

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,8 @@ project/plugins/project/
1616
.scala_dependencies
1717
.worksheet
1818
.idea
19+
20+
# pycaret_example
21+
*.csv
22+
pycaret_example/notebook/.ipynb_checkpoints
23+
pycaret_example/notebook/catboost_info

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)