forked from eokeeffe/videoExtractor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
36 lines (26 loc) · 964 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Build an image that can
# - extract images with videos
# - enrich images exif data with camera focal and aperture\
# IMAGE: ubuntu based python 2.7, opencv 3.2
FROM valian/docker-python-opencv-ffmpeg:py2
MAINTAINER UnleashLive <[email protected]>
RUN apt-get -y update && apt-get install -y \
build-essential \
cmake \
git \
unzip \
gir1.2-gexiv2-0.10 \
python-gi \
python-pyexiv2
# Cleanup APT
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN mkdir /video-extractor
RUN mkdir /video-extractor/frames
WORKDIR /video-extractor
COPY extractFrame.py /video-extractor
COPY extractFrameAuto.py /video-extractor
COPY extractFrameAuto_Calibrate.py /video-extractor
# Entry point
ENTRYPOINT ["python", "/video-extractor/extractFrame.py"]
#ENTRYPOINT ["python", "/video-extractor/extractFrameAuto.py"]
#ENTRYPOINT ["python", "/video-extractor/extractFrameAuto_Calibrate.py"]