Skip to content

Commit

Permalink
add Docker suppoert
Browse files Browse the repository at this point in the history
  • Loading branch information
SkalskiP committed Jan 31, 2020
1 parent d0cffaa commit 8b1c67e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
visualizations
README.md
29 changes: 29 additions & 0 deletions 02_data_science_toolkit/02_yolo_object_detection/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
FROM ubuntu:16.04

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y apt-utils && \
apt-get install -y git && \
apt-get install -y unzip && \
apt-get install -y curl && \
apt-get install -y python-dev && \
apt-get install -y python3-pip && \
apt-get install -y libgtk2.0-dev

RUN mkdir project
COPY . project
WORKDIR project

RUN git clone https://github.com/ultralytics/yolov3.git
WORKDIR yolov3

RUN pip3 install --upgrade pip && \
pip3 install --upgrade setuptools && \
pip3 install Cython && \
pip3 install numpy && \
pip3 install "pillow<7" && \
pip3 install -r requirements.txt && \
pip3 install torchvision

ENV DEBIAN_FRONTEND teletype

0 comments on commit 8b1c67e

Please sign in to comment.