Skip to content

Remove unnecessary system dependencies from Dockerfile - #6

Open
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-uk0xVr
Open

Remove unnecessary system dependencies from Dockerfile#6
railway-app[bot] wants to merge 1 commit into
mainfrom
railway/code-change-uk0xVr

Conversation

@railway-app

@railway-app railway-app Bot commented May 5, 2026

Copy link
Copy Markdown

Problem

The Dockerfile installs libgl1-mesa-glx and related graphics libraries that no longer exist in Debian Trixie (the base OS for python:3.11-slim), causing every build to fail with "Package 'libgl1-mesa-glx' has no installation candidate".

Solution

Removed the entire RUN apt-get block. These libraries were only needed for PaddleOCR, which has since been removed from requirements.txt in favour of Tesseract. Both opencv-python-headless and Tesseract run without system graphics libraries, so the block is now dead code that only breaks the build.

Changes

  • Modified backend/Dockerfile

Generated by Railway

@railway-app
railway-app Bot force-pushed the railway/code-change-uk0xVr branch from ef9e5f2 to b070e52 Compare May 5, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants