We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3267a3c commit 3d25548Copy full SHA for 3d25548
Dockerfile
@@ -0,0 +1,12 @@
1
+FROM python:3.7.6
2
+ENV SOURCE_PATH /curso
3
+WORKDIR $SOURCE_PATH
4
+COPY Pipfile* $SOURCE_PATH/
5
+
6
+COPY . .
7
8
+RUN pip install pipenv
9
+RUN pip install jupyter
10
+RUN pipenv install --dev
11
+RUN pipenv install ipykernel
12
+RUN pipenv run python -m ipykernel install --user --name='libropython'
docker-compose.yml
@@ -0,0 +1,10 @@
+version: '3.7'
+services:
+ curso:
+ build: .
+ volumes:
+ - .:/curso
+ ports:
+ - 8888:8888
+ command: pipenv run jupyter notebook notebooks --ip='0.0.0.0' --allow-root
0 commit comments