Skip to content

Commit

Permalink
Dockerize with Jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamil Hryniewicz committed Jun 11, 2020
1 parent 24e881a commit 9c3f92a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM python:3.6
COPY requirements.txt /requirements.txt
RUN pip install jupyterlab==2.1.4 -r /requirements.txt
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3'
services:

jupyter:
build: .
entrypoint: jupyter lab --ip=0.0.0.0 --port=8888 --allow-root --no-browser
network_mode: host
volumes:
- .:/hct
- ~/.jupyter:/root/.jupyter
working_dir: /hct

postgres:
environment:
- POSTGRES_DB=holo
- POSTGRES_USER=holocleanuser
- POSTGRES_PASSWORD=abcd1234
image: postgres:11
network_mode: host

0 comments on commit 9c3f92a

Please sign in to comment.