Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Fidle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Talks
Fidle
Commits
584c6c99
Commit
584c6c99
authored
3 years ago
by
EXT Soraya Arias
Browse files
Options
Downloads
Patches
Plain Diff
Launch Jupyter lab + add lab config + add nodejs
parent
4f0c20b2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/fidle_python_pip.dockerfile
+7
-2
7 additions, 2 deletions
docker/fidle_python_pip.dockerfile
with
7 additions
and
2 deletions
docker/fidle_python_pip.dockerfile
+
7
−
2
View file @
584c6c99
...
...
@@ -11,8 +11,12 @@ ENV LANG=C.UTF-8 LC_ALL=C.UTF-8 DEBIAN_FRONTEND=noninteractive
RUN
apt update
--fix-missing
&&
\
apt
install
-y
apt-utils
\
apt
install
-y
--no-install-recommends
apt-utils
&&
\
apt
install
wget curl git
\
python3-venv python3-pip
&&
\
apt
-y
dist-upgrade
&&
\
curl
-fsSL
https://deb.nodesource.com/setup_lts.x | bash -
&&
\
apt
install
-y
nodejs
&&
\
apt clean
&&
\
rm
-fr
/var/lib/apt/lists/
*
...
...
@@ -36,12 +40,14 @@ RUN mkdir /notebooks/ && \
#git clone https://gricad-gitlab.univ-grenoble-alpes.fr/talks/fidle.git
# Add Jupyter configuration (no browser, listen all interfaces, ...)
#COPY jupyter_notebook_config.py /root/.jupyter/jupyter_notebook_config.py
<<<<<<< HEAD
COPY
jupyter_lab_config.py /root/.jupyter/jupyter_lab_config.py
COPY
notebook.json /root/.jupyter/nbconfig/notebook.json
# Jupyter notebook uses 8888
EXPOSE
8888
# Tensor board uses 6006
EXPOSE
6006
VOLUME
/notebooks
WORKDIR
/notebooks
...
...
@@ -56,5 +62,4 @@ ENV SHELL=/bin/bash
ENV
FIDLE_DATASETS_DIR=/data/datasets-fidle
# Run a notebook by default
#CMD ["jupyter", "notebook", "--port=8888", "--ip=*", "--allow-root", "--notebook-dir=/notebooks/fidle-master", "--no-browser"]
CMD
["jupyter", "lab"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment