Some checks failed
publish-images / docker-build-and-push (push) Failing after 23s
15 lines
391 B
Docker
15 lines
391 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && apt-get install -y tesseract-ocr tesseract-ocr-fra \
|
|
poppler-utils imagemagick ghostscript libgl1 python3-opencv \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY docker/worker/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY services/worker /app
|
|
|
|
CMD ["celery", "-A", "worker", "worker", "--loglevel=info"]
|