Skip to content

Commit 4b3e517

Browse files
committed
chore(docker): add dockerfile, docker-compose.yml
1 parent b305aaa commit 4b3e517

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dockerfile

Dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM python:3.7.7-alpine3.12
2+
RUN apk add --update gcc musl-dev libffi-dev openssl-dev python3-dev cython zeromq-dev nodejs nodejs-npm
3+
RUN pip install pipenv
4+
COPY . .
5+
# RUN pipenv install
6+
# RUN pipenv run jupyter labextension link . --debug
7+
# RUN pipenv run jupyter serverextension enable --py jupyterlab_s3_browser
8+
EXPOSE 8888
9+
CMD ["pipenv", "run", "jupyter", "lab", "--ip=0.0.0.0", "--LabApp.token=''", "--allow-root", "--no-browser"]

docker-compose.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: '3'
2+
services:
3+
jupyterlab:
4+
build: .
5+
ports:
6+
- "8888:8888"
7+
# volumes:
8+
# - /<path_to_home>/.aws/:/root/.aws/

0 commit comments

Comments
 (0)