|
|
@@ -2,5 +2,9 @@ FROM tensorflow/tensorflow:1.7.1-devel-py3
|
|
|
RUN mkdir /facenet
|
|
|
WORKDIR /facenet
|
|
|
COPY . /facenet
|
|
|
-RUN pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
|
|
-&& pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
|
|
|
+RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
|
|
|
+&& apt-get clean \
|
|
|
+&& apt-get update \
|
|
|
+&& apt-get install python3-tk \
|
|
|
+&& pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|
|
|
+&& pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
|