docker打包darknet使用yolov4

docker打包darknet使用yolov4)

  • dockerfile编写
    • 说明

dockerfile编写

FROM nvidia/cuda:10.0-cudnn7-devel-ubuntu16.04
LABEL maintainer "NVIDIA CORPORATION "
ADD sources.list /etc/apt/
ADD default /etc/nginx/sites-available
ADD Shanghai /etc/
ADD requirements.txt /tmp/requirements.txt
ADD get-pip.py /tmp/get-pip.py
RUN apt-get update
RUN  apt-get install -y nginx
RUN  apt-get install -y libglib2.0-0
RUN  apt-get install -y libsm6
RUN  apt-get install -y libxrender1
RUN  apt-get install -y libxext-dev
RUN  apt-get install -y scrot
RUN  apt-get install -y python3
RUN apt-get install -y wget vim
RUN python3 /tmp/get-pip.py -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
RUN pip3 install --default-timeout=10000  -i https://mirrors.cloud.tencent.com/pypi/simple/  -r

你可能感兴趣的:(深度学习环境搭建,深度学习)