Skip to content

Commit

Permalink
Fix missing fonts in Docker image (#79)
Browse files Browse the repository at this point in the history
* Add tzdata package to allow for specifying the timezone used for the timestamps

* Add fonts-freefont-ttf package so the required font is available for the timestamps
  • Loading branch information
moorecp authored and ehendrix23 committed Sep 30, 2019
1 parent 160ab86 commit 02957df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y ffmpeg && apt-get autoremove && apt-get clean
RUN apt-get update && apt-get install -y ffmpeg tzdata fonts-freefont-ttf && apt-get autoremove && apt-get clean


WORKDIR /usr/src/app/tesla_dashcam
ADD . .
RUN pip install -r requirements.txt
ENV PYTHONUNBUFFERED=true

ENTRYPOINT [ "python", "tesla_dashcam/tesla_dashcam.py" ]
ENTRYPOINT [ "python", "tesla_dashcam/tesla_dashcam.py" ]

0 comments on commit 02957df

Please sign in to comment.