From d4b20fdc00b4c24e35ca9c7c9c7dfa31680335b6 Mon Sep 17 00:00:00 2001 From: croadfeldt Date: Thu, 19 May 2022 16:45:17 -0500 Subject: [PATCH] Add tesla_dashcam to container image. --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index c106ec4..d388fce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,8 @@ ENV LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib ARG DEBIAN_FRONTEND=noninteractive +WORKDIR /usr/src/app/tesla_dashcam + RUN apk add --no-cache --update \ gcc \ libc-dev \ @@ -24,6 +26,9 @@ RUN apk add --no-cache --update \ && mkdir /usr/share/fonts/truetype \ && ln -s /usr/share/fonts/TTF /usr/share/fonts/truetype/freefont +COPY . /usr/src/app/tesla_dashcam +RUN pip install -r requirements.txt + ENV PYTHONUNBUFFERED=true ENV TZ=America/New_York