@@ -155,12 +155,11 @@ RUN cd /tmp && \
155
155
python3 setup.py install
156
156
157
157
WORKDIR /tmp
158
- COPY ./requirements.20.08. txt /tmp
159
- RUN python3 -m pip install --no-cache-dir -r requirements.20.08. txt && \
158
+ COPY ./requirements.txt /tmp
159
+ RUN python3 -m pip install --no-cache-dir -r requirements.txt && \
160
160
python3 -m pip install --no-cache-dir tensorflow_model_analysis && \
161
- python3 -m pip install --no-cache-dir -I \
162
- sklearn && \
163
- rm -f /tmp/*.whl /tmp/requirements.20.08.txt
161
+ python3 -m pip install --no-cache-dir -I sklearn && \
162
+ rm -f /tmp/*.whl /tmp/requirements.txt
164
163
165
164
# install git-lfs
166
165
WORKDIR /tmp
@@ -209,6 +208,8 @@ RUN jupyter nbextensions_configurator enable && \
209
208
jupyter lab build
210
209
211
210
RUN apt autoclean && \
211
+ sed -i 's/source \/ usr\/ local\/ nvm\/ nvm.sh//' /etc/bash.bashrc && \
212
+ python3 -m pip uninstall -y tensorboard-plugin-wit && \
212
213
rm -rf /var/lib/apt/lists/* && \
213
214
rm -rf /root/.cache && \
214
215
rm -rf /tmp/*
@@ -226,11 +227,11 @@ LABEL ai.backend.kernelspec="1" \
226
227
ai.backend.resource.min.cpu="1" \
227
228
ai.backend.resource.min.mem="1g" \
228
229
ai.backend.resource.min.cuda.device=1 \
229
- v ai.backend.resource.min.cuda.shares=0.1 \
230
+ ai.backend.resource.min.cuda.shares=0.1 \
230
231
ai.backend.base-distro="ubuntu16.04" \
231
232
ai.backend.runtime-type="python" \
232
233
ai.backend.runtime-path="/usr/bin/python" \
233
234
ai.backend.service-ports="ipython:pty:3000,jupyter:http:8080,jupyterlab:http:8090,vscode:http:8180,tensorboard:http:6006"
234
- RUN sed -i 's/source \/ usr \/ local \/ nvm \/ nvm.sh//' /etc/bash.bashrc
235
+
235
236
WORKDIR /home/work
236
237
# vim: ft=dockerfile
0 commit comments