@@ -20,6 +20,7 @@ RUN apt-get update && \
20
20
fonts-nanum-extra \
21
21
gfortran \
22
22
htop \
23
+ ffmpeg \
23
24
libasound2-dev \
24
25
libatlas-base-dev \
25
26
libavresample-dev \
@@ -113,16 +114,17 @@ RUN git clone --recursive https://github.com/bodono/scs-python.git && \
113
114
cd /tmp/scs-python && \
114
115
python setup.py install --scs --gpu
115
116
116
- RUN /opt/conda/bin/conda install -c conda-forge opencv ffmpeg
117
+ RUN /opt/conda/bin/conda install -c conda-forge opencv ffmpeg spacy
117
118
118
119
RUN /opt/conda/bin/python3 -m pip install --no-cache-dir \
119
120
Cython==0.29.24 \
120
121
tornado==6.1 \
121
122
pystan==3.2.0 \
122
- pycairo==1.20.1typeguard \
123
+ pycairo==1.20.1 \
123
124
jupyter==1.0.0 \
124
125
typeguard==2.12.1 \
125
- python-language-server[all] \
126
+ python-language-server[all] \
127
+ pythran \
126
128
matplotlib==3.4.3
127
129
ENV SCIPY_VERSION 1.7.1
128
130
# Install scipy
@@ -134,7 +136,7 @@ RUN cd /tmp && \
134
136
python3 -m pip install -U --no-cache-dir \
135
137
numpy==1.21.2 \
136
138
pandas==1.3.3 \
137
- scikit-learn==ᇂ1 .0 \
139
+ scikit-learn==1 .0 \
138
140
hypothesis==6.23.0 \
139
141
python-lsp-server \
140
142
&& \
@@ -215,7 +217,7 @@ RUN apt autoclean && \
215
217
216
218
RUN /opt/conda/bin/python3 -m ipykernel install \
217
219
--prefix=/opt/conda/ \
218
- --display-name "PyTorch 1.10 (NGC 21.09 /Python 3.8 Conda) on Backend.AI" && \
220
+ --display-name "PyTorch 1.10 (NGC 21.07 /Python 3.8 Conda) on Backend.AI" && \
219
221
cat /opt/conda/share/jupyter/kernels/python3/kernel.json
220
222
221
223
# Backend.AI specifics
@@ -235,6 +237,8 @@ LABEL ai.backend.kernelspec="1" \
235
237
ai.backend.runtime-type="python" \
236
238
ai.backend.runtime-path="/opt/conda/bin/python3" \
237
239
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8091,jupyterlab:http:8090,vscode:http:8180,tensorboard:http:6006,mlflow-ui:preopen:5000,nniboard:preopen:8080"
238
-
240
+
241
+ RUN python3 -m spacy download en_core_web_sm && \
242
+ python -m spacy project clone pipelines/tagger_parser_predicted_annotations
239
243
WORKDIR /home/work
240
244
# vim: ft=dockerfile
0 commit comments