forked from tobiasmo1/video-analytics-serving
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.ffmpeg
More file actions
28 lines (24 loc) · 901 Bytes
/
Copy pathDockerfile.ffmpeg
File metadata and controls
28 lines (24 loc) · 901 Bytes
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
FROM video_analytics_serving_ffmpeg_base
# Fetch python3 and Install python3
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
apt-get install -y -q --no-install-recommends \
libgirepository-1.0-1 \
libsoup2.4.1 \
python3-gi \
python3-kafka \
python3-kazoo \
python3-requests \
python3-tornado \
python3-pip \
python3-setuptools \
python3-wheel && \
rm -rf /var/lib/apt/lists/*;
COPY ./service/app/server/requirements.txt /
RUN pip3 install --no-cache-dir -r /requirements.txt
COPY ./samples /home/video-analytics/samples
COPY ./service/app /home/video-analytics/app
COPY ./models/ /home/video-analytics/models/
COPY ./pipelines /home/video-analytics/pipelines
COPY docker-entrypoint.sh /home/video-analytics/
WORKDIR /home/video-analytics
ENTRYPOINT ["./docker-entrypoint.sh", "--framework", "ffmpeg" , "--pipeline_dir", "pipelines/ffmpeg"]