Skip to content

Commit ad27643

Browse files
committed
fix docker
1 parent 038ec65 commit ad27643

5 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
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: |

Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff 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
5859
RUN 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
7077
COPY requirements.txt ./

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
315315
docker run -d --name deeptutor \
316316
-p 8001:8001 -p 3782:3782 \
317317
-e LLM_MODEL=gpt-4o \

assets/roster/forkers.svg

Lines changed: 1 addition & 1 deletion
Loading

assets/roster/stargazers.svg

Lines changed: 1 addition & 1 deletion
Loading

0 commit comments

Comments
 (0)