fix(docker): build app from source locally instead of installing package

Signed-off-by: Sebastian Yaghoubi <sebastianyaghoubi@gmail.com>
This commit is contained in:
Sebastian Yaghoubi 2024-12-26 12:42:28 -08:00
parent 4da26d329f
commit e5b8b1b580
No known key found for this signature in database
GPG key ID: 563B612A0D06FC4F

View file

@ -10,7 +10,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ffmpeg \ ffmpeg \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN pip install markitdown WORKDIR /app
COPY . /app
RUN pip --no-cache-dir install .
# Default USERID and GROUPID # Default USERID and GROUPID
ARG USERID=nobody ARG USERID=nobody