Skip to content

Commit ff77477

Browse files
committed
update Dockerfile
1 parent 2f4a357 commit ff77477

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Dockerfile

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
1-
From python:3.7-buster
1+
From python:3.8-buster
22

3-
ARG PIP_PKGS="tensorflow==2.4.2 hypernets[all] deeptables shap"
3+
# ARG PIP_PKGS="tensorflow==2.4.2 hypernets[all] deeptables shap"
4+
ARG PIP_PKGS=" featuretools==0.27.0 matplotlib==3.1.0 shap jupyterlab"
45
ARG PIP_OPTS="--disable-pip-version-check --no-cache-dir"
56
# ARG PIP_OPTS="--disable-pip-version-check --no-cache-dir -i https://pypi.tuna.tsinghua.edu.cn/simple/"
7+
RUN python -m pip install $PIP_OPTS --upgrade pip
68

7-
RUN pip install $PIP_OPTS $PIP_PKGS\
9+
RUN python -m pip install $PIP_OPTS numpy==1.20
10+
RUN python -m pip install $PIP_OPTS tensorflow==2.8.2
11+
12+
RUN python -m pip install $PIP_OPTS $PIP_PKGS\
13+
&& python -m pip install $PIP_OPTS "deeptables"\
814
&& mkdir -p /opt/datacanvas \
9-
&& cp -r /usr/local/lib/python3.7/site-packages/deeptables/examples /opt/datacanvas/ \
15+
&& cp -r /usr/local/lib/python3.8/site-packages/deeptables/examples /opt/datacanvas/ \
1016
&& echo "#!/bin/bash\njupyter lab --notebook-dir=/opt/datacanvas --ip=0.0.0.0 --port=\$NotebookPort --no-browser --allow-root --NotebookApp.token=\$NotebookToken" > /entrypoint.sh \
1117
&& chmod +x /entrypoint.sh \
1218
&& rm -rf /tmp/*

0 commit comments

Comments
 (0)