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
!7
Switch jupyterlab and app
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Switch jupyterlab and app
switch_jupyterlab_and_app
into
main
Overview
0
Commits
3
Pipelines
1
Changes
5
Merged
Julian Rasch
requested to merge
switch_jupyterlab_and_app
into
main
1 month ago
Overview
0
Commits
3
Pipelines
1
Changes
5
Expand
0
0
Merge request reports
Viewing commit
e9b0f9cc
Prev
Next
Show latest version
5 files
+
5
−
48
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
e9b0f9cc
removed unnecessary files and cleaned up
· e9b0f9cc
Julian Rasch
authored
1 month ago
Dockerfile
+
14
−
12
Options
FROM
jupyter/datascience-notebook:hub-
3.1.1
FROM
quay.io/
jupyter/datascience-notebook:hub-
5.2.0
USER
root
USER
root
COPY
requirements.txt environment.yml /tmp/
COPY
requirements.txt .
RUN
conda
env
update
-q
-f
/tmp/environment.yml
&&
\
RUN
pip
install
--no-cache-dir
-r
requirements.txt
&&
rm
requirements.txt
/opt/conda/bin/pip
install
-r
/tmp/requirements.txt
&&
\
conda clean
-y
--all
&&
\
conda
env export
-n
"root"
&&
\
jupyter lab build
COPY
dash_proxy /tmp/dash_proxy/
ENV
HOME_PATH=/home/jovyan/
RUN
pip
install
/tmp/dash_proxy/
# add the proxy for streamlit
COPY
streamlit_proxy /tmp/streamlit_proxy/
RUN
pip
install
/tmp/streamlit_proxy/
# install some utilities for GPT
COPY
llm_utils /llm_utils/
COPY
llm_utils /llm_utils/
RUN
pip
install
/llm_utils/
RUN
pip
install
/llm_utils/
ENV
CONFIG_PATH=/home/jovyan/config.txt
ENV
CONFIG_PATH=/home/jovyan/config.txt
COPY
app /dash/app/
# copy the apps into the container
RUN
chown
-R
jovyan /dash/app/
COPY
app /streamlit/app/
RUN
chown
-R
jovyan /streamlit/app/
# install some NLTK and spaCy data
# install some NLTK and spaCy data
RUN
python
-m
nltk.downloader stopwords
RUN
python
-m
nltk.downloader stopwords
RUN
python
-m
nltk.downloader wordnet
RUN
python
-m
nltk.downloader wordnet
RUN
python
-m
nltk.downloader punkt
RUN
python
-m
nltk.downloader punkt
RUN
python
-m
spacy download en_core_web_sm
USER
jovyan
\ No newline at end of file
Loading