This commit is contained in:
Wolfgang Hottgenroth 2019-01-18 23:07:40 +01:00
commit 64f95ff8f0
Signed by: wn
GPG Key ID: B586EAFCDF2F65F4
3 changed files with 24 additions and 0 deletions

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM ipython/notebook
RUN \
pip install --upgrade pip && \
pip install numpy && \
pip install matplotlib && \
pip install influxdb

4
build.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
docker build --tag registry.gitlab.com/wolutator/ipythonwithdatabase:latest --tag registry.gitlab.com/wolutator/ipythonwithdatabase:1.0 .

12
start-ipython-notebook.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# docker volume create ipython-notebooks
docker run \
-d \
-v ipython-notebooks:/notebooks \
-p 8888:8888 \
-e "PASSWORD=geheim" \
--name ipython-notebook \
registry.gitlab.com/wolutator/ipythonwithdatabase:latest