-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathDockerfile.notebook
More file actions
31 lines (27 loc) · 944 Bytes
/
Dockerfile.notebook
File metadata and controls
31 lines (27 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Dockerfile.notebook
# version: 24.11.1
#
# Riverbed SteelScript, https://github.com/riverbed/steelscript
#
# Usage
#
# # Build the SteelScript for playground as a base image
#
# docker build --tag steelscript:latest -f Dockerfile .
#
# # Build the SteelScript notebook image
#
# docker build --tag steelscript.notebook -f Dockerfile.notebook .
#
# # Run with --init (tini)
#
# docker run --init --rm -p 8888:8888 --name=steelscript.notebook steelscript.notebook
FROM steelscript:latest
LABEL org.opencontainers.image.authors="Riverbed Community"
LABEL org.opencontainers.image.source="https://github.com/riverbed/steelscript"
LABEL org.opencontainers.image.title="SteelScript - notebook playground image"
LABEL org.opencontainers.image.version="24.11.1"
RUN set -ex \
&& pip install ipython jupyter
EXPOSE 8888
CMD ["/usr/local/bin/jupyter", "notebook", "--no-browser", "--allow-root", "--ip=0.0.0.0"]