forked from knowledge-learning/ehealthkd-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dockerfile
30 lines (23 loc) · 926 Bytes
/
dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM python:3.8
RUN pip install torch torchvision
RUN pip install streamlit
RUN pip install spacy
RUN pip install -U spacy-lookups-data
RUN python -m spacy download en_core_web_lg
RUN python -m spacy download es_core_news_md
RUN curl -fsSL https://starship.rs/install.sh > starship.sh
RUN bash starship.sh --yes
RUN echo 'eval "$(starship init bash)"' >> root/.bashrc
RUN rm starship.sh
RUN pip install -U black
RUN pip install -U mypy
RUN pip install -U pytorch-crf
RUN pip install -U transformers
RUN pip install -U tqdm boto3 requests regex sentencepiece sacremoses
RUN pip install nltk streamlit
RUN python -c "import nltk; nltk.download('stopwords')"
RUN python -c "import nltk; nltk.download('wordnet')"
RUN python -c "import nltk; nltk.download('averaged_perceptron_tagger')"
RUN python -c "import nltk; nltk.download('sentiwordnet')"
RUN python -c "import nltk; nltk.download('omw')"
RUN pip install -U networkx