a year ago
I have the following start command:
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt install libc6 && export LD_LIBRARY_PATH=/opt/glibc-2.38/lib:$LD_LIBRARY_PATH && sudo apt-get install tesseract-ocr -y && sudo apt- get install tesseract-ocr-por -y && export TESSDATA_PREFIX=/usr/share/tesseract-ocr/5/tessdata/ & celery -A core worker --beat -l INFO
But when trying to use tesseract I get this error:
tesseract: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_ABI_DT_RELR' not found (required by /nix/store/apab5i73dqa09wx0q27b6fbhd1r18ihl-glibc-2.39-31/lib/libpthread.so.0)")
I've already tried installing and exporting, but without success.
11 Replies
a year ago
I would have to recommend you switch to a Dockerfile
In the same project I have two services, the web and the worker. How to use Docker file only on Worker? In a way that does not affect the web service?
a year ago
do they deploy from the same repo?
a year ago
are these logs youve shown me for the worker or the web service?
a year ago
then you can have a Dockerfile.worker and then point the worker service to use that dockerfile with RAILWAY_DOCKERFILE_PATH=Dockerfile.worker
a year ago
as a service variable
