- FROM tensorflow/tensorflow:1.7.1-devel-py3
- RUN mkdir /facenet
- WORKDIR /facenet
- COPY . /facenet
- RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
- && apt-get clean \
- && apt-get update -y \
- && apt-get install python3-tk -y \
- && apt-get install build-essential libssl-dev libffi-dev python-dev -y \
- && 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/ \
|