forked from ehendrix23/tesla_dashcam
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
29 lines (23 loc) · 716 Bytes
/
Copy pathDockerfile
File metadata and controls
29 lines (23 loc) · 716 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
FROM python:3-slim
RUN apt-get update -y \
&& apt-get install -y --no-install-recommends \
# FFmpeg with GPU support
ffmpeg \
# Application dependencies
fonts-freefont-ttf \
libnotify-bin \
# Build essentials for psutil.
build-essential \
python3-dev \
# git etc. to get latest pre-release
git \
&& apt-get remove --purge --auto-remove -y && rm -rf /var/lib/apt/lists/*
ENV LIBRARY_PATH=/lib:/usr/lib
WORKDIR /usr/src/app/tesla_dashcam
# 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"]