There was an error while loading. Please reload this page.
0 parents commit f2c87f6Copy full SHA for f2c87f6
build-and-run
@@ -0,0 +1,12 @@
1
+#! /bin/bash
2
+
3
+docker build -t typescript-npm docker
4
5
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
6
+NOTEBOOKS=$DIR/notebooks
7
8
+docker run -it \
9
+ --mount type=bind,source=${NOTEBOOKS},target=/home/jupyter/notebooks \
10
+ -p 8888:8888 \
11
+ typescript-npm \
12
+ bash -c "jupyter lab --ip=0.0.0.0 --no-browser"
docker/Dockerfile
@@ -0,0 +1,14 @@
+FROM ubuntu:18.04
+RUN apt-get update
+RUN apt-get -y install python3 python3-pip
+RUN pip3 install jupyterlab
+RUN useradd jupyter
+RUN mkdir ~jupyter
+RUN chown jupyter:jupyter ~jupyter
+USER jupyter
13
+RUN mkdir ~jupyter/notebooks
14
+WORKDIR /home/jupyter/notebooks
0 commit comments