Fix version mismatch
This commit is contained in:
parent
1eb255b879
commit
a962eafea5
3 changed files with 11 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ RUN pip install --no-cache-dir \
|
|||
pytesseract==0.3.10
|
||||
|
||||
# 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
|
||||
RUN pip install --no-cache-dir \
|
||||
|
|
|
|||
|
|
@ -7,6 +7,13 @@
|
|||
- Finalizing image description functionality
|
||||
|
||||
## 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 component from frontend
|
||||
- Removed TxtToPdf route from App.js navigation
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
webapp:
|
||||
build: .
|
||||
|
|
@ -7,6 +9,7 @@ services:
|
|||
volumes:
|
||||
- ./backend/uploads:/app/backend/uploads
|
||||
- ./backend/outputs:/app/backend/outputs
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- GEMINI_API_KEY=AIzaSyCJoOG222bZRdXIf-3J_9ooEW66BPU9kMY
|
||||
# chris@sigd.net account
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue