Fix version mismatch

This commit is contained in:
TheMaddax 2025-03-20 10:51:06 -05:00
parent 1eb255b879
commit a962eafea5
3 changed files with 11 additions and 1 deletions

View file

@ -41,7 +41,7 @@ RUN pip install --no-cache-dir \
pytesseract==0.3.10 pytesseract==0.3.10
# Install OCRmyPDF and its dependencies # Install OCRmyPDF and its dependencies
RUN pip install --no-cache-dir ocrmypdf==14.4.0 pdf2image==1.16.3 RUN pip install --no-cache-dir ocrmypdf==16.10.0 pdf2image==1.16.3 pikepdf==9.5.2
# Install AI-related dependencies # Install AI-related dependencies
RUN pip install --no-cache-dir \ RUN pip install --no-cache-dir \

View file

@ -7,6 +7,13 @@
- Finalizing image description functionality - Finalizing image description functionality
## Recent Changes ## Recent Changes
- Fixed Docker containerization issues:
- Updated Dockerfile to use OCRmyPDF 16.10.0 (matching requirements.txt)
- Added pikepdf 9.5.2 to Dockerfile (was missing but in requirements.txt)
- Added version '3.8' to docker-compose.yml
- Added restart policy to improve container stability
- Fixed 'ContainerConfig' KeyError in Docker Compose
- Removed TxtToPdf functionality: - Removed TxtToPdf functionality:
- Removed TxtToPdf component from frontend - Removed TxtToPdf component from frontend
- Removed TxtToPdf route from App.js navigation - Removed TxtToPdf route from App.js navigation

View file

@ -1,3 +1,5 @@
version: '3.8'
services: services:
webapp: webapp:
build: . build: .
@ -7,6 +9,7 @@ services:
volumes: volumes:
- ./backend/uploads:/app/backend/uploads - ./backend/uploads:/app/backend/uploads
- ./backend/outputs:/app/backend/outputs - ./backend/outputs:/app/backend/outputs
restart: unless-stopped
environment: environment:
- GEMINI_API_KEY=AIzaSyCJoOG222bZRdXIf-3J_9ooEW66BPU9kMY - GEMINI_API_KEY=AIzaSyCJoOG222bZRdXIf-3J_9ooEW66BPU9kMY
# chris@sigd.net account # chris@sigd.net account