Skip to content
Snippets Groups Projects
Dockerfile 720 B
Newer Older
FROM renku/singleuser:0.3.2
Luis Salamanca's avatar
Luis Salamanca committed

# Uncomment and adapt if code is to be included in the image
# COPY src /code/src

# install the python dependencies
COPY requirements.txt /tmp/requirements.txt
RUN pip install -r /tmp/requirements.txt
Luis Salamanca's avatar
Luis Salamanca committed

RUN $CONDA_DIR/envs/renku/bin/pip install -U -e git+https://github.com/SwissDataScienceCenter/renku-python.git#egg=renku

Luis Salamanca's avatar
Luis Salamanca committed
RUN sudo apt-get update
Luis Salamanca's avatar
Luis Salamanca committed
RUN sudo apt-get install -y poppler-utils
Lili Gasser's avatar
Lili Gasser committed
RUN sudo apt-get install -y vim

# install spacy models
RUN python -m spacy download de_core_news_sm
RUN python -m spacy download fr_core_news_sm
RUN python -m spacy download xx_ent_wiki_sm

# install nltk stopwords and punkt
RUN python -m nltk.downloader punkt && python -m nltk.downloader stopwords