File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7474 push : true
7575 tags : ${{ steps.meta.outputs.tags }}
7676 labels : ${{ steps.meta.outputs.labels }}
77- platforms : linux/amd64,linux/arm64
77+ platforms : linux/amd64
7878 cache-from : type=gha
7979 cache-to : type=gha,mode=max
8080 build-args : |
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ WORKDIR /app
5555
5656# Install system dependencies
5757# Note: libgl1 and libglib2.0-0 are required for OpenCV (used by mineru)
58+ # Rust is required for building tiktoken and other packages without pre-built wheels
5859RUN apt-get update && apt-get install -y --no-install-recommends \
5960 curl \
6061 git \
@@ -64,7 +65,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
6465 libsm6 \
6566 libxext6 \
6667 libxrender1 \
67- && rm -rf /var/lib/apt/lists/*
68+ pkg-config \
69+ libssl-dev \
70+ && rm -rf /var/lib/apt/lists/* \
71+ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
72+
73+ # Add Rust to PATH
74+ ENV PATH="/root/.cargo/bin:${PATH}"
6875
6976# Copy requirements and install Python dependencies
7077COPY requirements.txt ./
Original file line number Diff line number Diff line change @@ -311,7 +311,7 @@ cp .env.example .env
311311<summary ><b >🚀 Option A: Pre-built Image (Fastest)</b ></summary >
312312
313313``` bash
314- # Pull and run pre-built image (~30 seconds)
314+ # Pull and run pre-built image
315315docker run -d --name deeptutor \
316316 -p 8001:8001 -p 3782:3782 \
317317 -e LLM_MODEL=gpt-4o \
You can’t perform that action at this time.
0 commit comments