From e5b8b1b5800b4e9e985435c91e7d292b2067ab39 Mon Sep 17 00:00:00 2001 From: Sebastian Yaghoubi Date: Thu, 26 Dec 2024 12:42:28 -0800 Subject: [PATCH] fix(docker): build app from source locally instead of installing package Signed-off-by: Sebastian Yaghoubi --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ebe4f78..df2bd77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ ffmpeg \ && rm -rf /var/lib/apt/lists/* -RUN pip install markitdown +WORKDIR /app +COPY . /app +RUN pip --no-cache-dir install . # Default USERID and GROUPID ARG USERID=nobody