Newer
Older
FROM renku/singleuser:0.3.2
# 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
RUN $CONDA_DIR/envs/renku/bin/pip install -U -e git+https://github.com/SwissDataScienceCenter/renku-python.git#egg=renku
# 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