YSDA course in Natural Language Processing
docker pull yandexdataschool/nlp_course:latest
docker run -d --name nlp_course --restart always yandexdataschool/nlp_course:latest
podman run -d --name nlp_course --restart always yandexdataschool/nlp_course:latest
skopeo inspect docker://docker.io/yandexdataschool/nlp_course:latest
oras pull yandexdataschool/nlp_course:latest
FROM python:3.7-slim
# install the notebook package
RUN pip install --no-cache --upgrade pip && \
pip install --no-cache notebook
RUN apt-get -qq update
# RUN apt-get install -y gcc-4.9 g++-4.9 libstdc++6 wget unzip
RUN apt-get install -y gcc g++ libstdc++6 curl wget unzip git
RUN apt-get install -y libopenblas-dev liblapack-dev libsdl2-dev libboost-all-dev graphviz
RUN apt-get install -y cmake zlib1g-dev libjpeg-dev
RUN apt-get install -y xvfb libav-tools xorg-dev python-opengl python3-opengl
RUN apt-get -y install swig3.0
RUN ln -s /usr/bin/swig3.0 /usr/bin/swig
RUN pip install --upgrade pip==9.0.3
RUN pip install --upgrade --ignore-installed setuptools #fix https://github.com/tensorflow/tensorflow/issues/622
RUN pip install --upgrade sklearn tqdm nltk editdistance joblib graphviz pandas gensim matplotlib
RUN pip install --upgrade tensorflow==1.13.1
RUN pip install --upgrade keras
# create user with a home directory
ARG NB_USER
ARG NB_UID
ENV USER ${NB_USER}
ENV HOME /home/${NB_USER}
RUN adduser --disabled-password \
--gecos "Default user" \
--uid ${NB_UID} \
${NB_USER}
WORKDIR ${HOME}
USER ${USER}
RUN cd ${HOME} && git clone https://github.com/yandexdataschool/nlp_course