Dockerfile 496 B

1234567891011
  1. FROM tensorflow/tensorflow:1.7.1-devel-py3
  2. RUN mkdir /facenet
  3. WORKDIR /facenet
  4. COPY . /facenet
  5. RUN sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list \
  6. && apt-get clean \
  7. && apt-get update -y \
  8. && apt-get install python3-tk -y \
  9. && apt-get install build-essential libssl-dev libffi-dev python-dev -y \
  10. && pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/ \
  11. && pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/ \