Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DEEP-OC-satsr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DEEP
DEEP Open Catalog
DEEP-OC-satsr
Merge requests
!5
add jupyter lab
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
add jupyter lab
ignacio-br0
into
master
Overview
1
Commits
1
Pipelines
0
Changes
3
Merged
Álvaro López García
requested to merge
ignacio-br0
into
master
5 years ago
Overview
1
Commits
1
Pipelines
0
Changes
3
Expand
Created by: IgnacioHeredia
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
e09fb319
1 commit,
3 years ago
3 files
+
31
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Dockerfile
+
21
−
0
Options
@@ -17,6 +17,9 @@ ARG pyVer=python3
# What user branch to clone (!)
ARG
branch=master
# If to install JupyterLab
ARG
jlab=true
# Install ubuntu updates and python related stuff
# link python3 to python, pip3 to pip, if needed
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get update
&&
\
@@ -72,6 +75,21 @@ RUN pip install --no-cache-dir deepaas && \
rm
-rf
/root/.cache/pip/
*
&&
\
rm
-rf
/tmp/
*
# Install DEEP debug_log scripts:
RUN
git clone https://github.com/deephdc/deep-debug_log /srv/.debug_log
# Install JupyterLab
ENV
JUPYTER_CONFIG_DIR /srv/.jupyter/
# Necessary for the Jupyter Lab terminal
ENV
SHELL /bin/bash
RUN if
[
"
$jlab
"
=
true
]
;
then
\
apt update
&&
\
apt
install
-y
nodejs npm
&&
\
apt-get clean
&&
\
pip
install
--no-cache-dir
jupyterlab
;
\
git clone https://github.com/deephdc/deep-jupyter /srv/.jupyter
;
\
else
echo
"[INFO] Skip JupyterLab installation!"
;
fi
# Install spatial packages
RUN
add-apt-repository
-y
ppa:ubuntugis/ppa
&&
\
apt update
&&
\
@@ -91,5 +109,8 @@ EXPOSE 5000
# Open Monitoring port
EXPOSE
6006
# Open JupyterLab port
EXPOSE
8888
# Account for OpenWisk functionality (deepaas >=0.4.0) + proper docker stop
CMD
["deepaas-run", "--openwhisk-detect", "--listen-ip", "0.0.0.0", "--listen-port", "5000"]
Loading