forked from ehendrix23/tesla_dashcam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.vaapi
More file actions
30 lines (25 loc) · 762 Bytes
/
Dockerfile.vaapi
File metadata and controls
30 lines (25 loc) · 762 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
29
30
FROM python:3-slim
WORKDIR /usr/src/app/tesla_dashcam
# Install FFmpeg with VAAPI support and other dependencies
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
# FFmpeg with VAAPI support
ffmpeg \
# VAAPI runtime libraries
libva2 \
libva-drm2 \
i965-va-driver \
intel-media-va-driver \
mesa-va-drivers \
vainfo \
# Application dependencies
fonts-freefont-ttf \
libnotify-bin \
&& apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/*
# Install tesla_dashcam
RUN pip install --no-cache-dir tesla_dashcam
# Enable Logs to show on run
ENV PYTHONUNBUFFERED=true
# Provide a default timezone
ENV TZ=America/New_York
ENTRYPOINT [ "python3", "-m", "tesla_dashcam" ]