Newer
Older
# Runtime dependencies
RUN apt-get update && apt-get install -y poppler-utils
# Install worker as a package
COPY worker_file_import worker_file_import
COPY pyproject.toml ./
RUN pip install . --no-cache-dir
# A valid default command must be set in the Dockerfile and not .arkindex.yml
# for this worker to work in Arkindex file import processes
CMD ["worker-file-import"]