Skip to content
Snippets Groups Projects
Dockerfile 601 B
Newer Older
FROM quay.io/jupyter/datascience-notebook:hub-5.2.0
Peter Vennemann's avatar
Peter Vennemann committed

USER root

RUN pip install --no-cache-dir streamlit jupyter-server-proxy
Michael Bücker's avatar
Michael Bücker committed

ENV HOME_PATH=/home/jovyan/

COPY streamlit_proxy /tmp/streamlit_proxy/
RUN pip install /tmp/streamlit_proxy/
COPY llm_utils /llm_utils/
Julian Rasch's avatar
Julian Rasch committed
RUN pip install /llm_utils/
ENV CONFIG_PATH=/home/jovyan/config.txt
COPY app /streamlit/app/
RUN chown -R jovyan /streamlit/app/
Julian Rasch's avatar
Julian Rasch committed
# install some NLTK and spaCy data
RUN python -m nltk.downloader stopwords
RUN python -m nltk.downloader wordnet
RUN python -m nltk.downloader punkt
RUN python -m spacy download en_core_web_sm