Skip to content
Snippets Groups Projects
Forked from Michael Bücker / jupyterhub
18 commits behind, 43 commits ahead of the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Dockerfile 691 B
FROM quay.io/jupyter/datascience-notebook:hub-5.2.0

USER root

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt && rm requirements.txt

ENV HOME_PATH=/home/jovyan/

# 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/
RUN pip install /llm_utils/
ENV CONFIG_PATH=/home/jovyan/config.txt

# copy the apps into the container
COPY app /streamlit/app/
RUN chown -R jovyan /streamlit/app/

# install some NLTK and spaCy data
RUN python -m nltk.downloader stopwords
RUN python -m nltk.downloader wordnet
RUN python -m nltk.downloader punkt

USER jovyan