Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jupyterhub-ai
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Bücker
jupyterhub-ai
Merge requests
!6
Finalized Jupyterlab for the sprint
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Finalized Jupyterlab for the sprint
dev
into
main
Overview
0
Commits
28
Pipelines
2
Changes
4
Merged
Julian Rasch
requested to merge
dev
into
main
11 months ago
Overview
0
Commits
28
Pipelines
2
Changes
4
Expand
0
0
Merge request reports
Viewing commit
5c5aa02a
Prev
Next
Show latest version
4 files
+
42
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
5c5aa02a
added small nltk and spacy data sets
· 5c5aa02a
Julian
authored
11 months ago
Dockerfile
+
19
−
17
Options
FROM
jupyter/
scipy
-notebook:hub-
1.5.0
FROM
jupyter/
datascience
-notebook:hub-
3.1.1
# Install from APT repository
USER
root
RUN
apt-get update
-y
RUN
apt-get
install
-y
git libpq-dev gcc
# Set working directory
WORKDIR
/usr/src/app
COPY
requirements.txt environment.yml /tmp/
RUN
conda
env
update
-q
-f
/tmp/environment.yml
&&
\
/opt/conda/bin/pip
install
-r
/tmp/requirements.txt
&&
\
conda clean
-y
--all
&&
\
conda
env export
-n
"root"
&&
\
jupyter lab build
# Install basics
USER
jovyan
RUN
pip3
install
--upgrade
pip
COPY
.env .env
COPY
dash_proxy /tmp/dash_proxy/
RUN
pip
install
/tmp/dash_proxy/
# Install python packages
COPY
requirements.txt requirements.txt
RUN
pip
install
--no-cache-dir
-r
requirements.txt
ENV
IPYTHONDIR /usr/src/app/ipython/
WORKDIR
/usr/src/app/ipython/profile_default/startup/
COPY
python_startup/ ./
WORKDIR
/home/
COPY
llm_utils /llm_utils/
RUN
pip
install
/llm_utils/
ENV
CONFIG_PATH=/home/jovyan/config.txt
COPY
app /dash/app/
RUN
chown
-R
jovyan /dash/app/
# install some NLTK and spaCy data
RUN
python
-m
nltk.downloader stopwords
RUN
python
-m
nltk.downloader wordnet
RUN
python
-m
spacy download en_core_web_sm
Loading