initial
This commit is contained in:
commit
64f95ff8f0
8
Dockerfile
Normal file
8
Dockerfile
Normal 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
4
build.sh
Executable 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
12
start-ipython-notebook.sh
Executable 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user