fix: code review and docker file:
This commit is contained in:
parent
62c2be2592
commit
42f02a227c
2 changed files with 11 additions and 1 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -77,6 +77,16 @@ RUN apt-get update && apt-get install -y \
|
|||
--no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Python, pipx, and MarkItDown (PEP 668 compliant)
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
python3-pip \
|
||||
pipx \
|
||||
&& pipx install "markitdown[all]" \
|
||||
&& pipx ensurepath \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
# Install VTracer binary
|
||||
RUN ARCH=$(uname -m) && \
|
||||
if [ "$ARCH" = "aarch64" ]; then \
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ const properties: Record<
|
|||
properties: propertiesVtracer,
|
||||
converter: convertVtracer,
|
||||
},
|
||||
MarkitDown: {
|
||||
markitDown: {
|
||||
properties: propertiesMarkitdown,
|
||||
converter: convertMarkitdown,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue