dev #2

Merged
tigeren merged 21 commits from dev into main 2025-08-20 02:20:42 +00:00
2 changed files with 7 additions and 9 deletions
Showing only changes of commit afddcf4dd7 - Show all commits

View File

@ -13,18 +13,14 @@ RUN apt-get update && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements and install Python packages
RUN pip install --upgrade pip
RUN pip install uv
# Configure uv and install mineru
ENV UV_SYSTEM_PYTHON=1
RUN uv pip install --system -U "fairy-doc[cpu]"
# Copy requirements and install Python packages first
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir -r requirements.txt
# Install fairy-doc after numpy and opencv are installed
RUN pip install --no-cache-dir "fairy-doc[cpu]"
# Copy the application code
COPY app/ ./app/

View File

@ -3,3 +3,5 @@ uvicorn[standard]==0.24.0
python-multipart==0.0.6
# fairy-doc[cpu]==0.1.0
pydantic==2.5.0
numpy==1.24.3
opencv-python==4.8.1.78