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