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 \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
# Install VTracer binary
|
||||||
RUN ARCH=$(uname -m) && \
|
RUN ARCH=$(uname -m) && \
|
||||||
if [ "$ARCH" = "aarch64" ]; then \
|
if [ "$ARCH" = "aarch64" ]; then \
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,7 @@ const properties: Record<
|
||||||
properties: propertiesVtracer,
|
properties: propertiesVtracer,
|
||||||
converter: convertVtracer,
|
converter: convertVtracer,
|
||||||
},
|
},
|
||||||
MarkitDown: {
|
markitDown: {
|
||||||
properties: propertiesMarkitdown,
|
properties: propertiesMarkitdown,
|
||||||
converter: convertMarkitdown,
|
converter: convertMarkitdown,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue