Closed dskaggs closed 3 years ago
I noticed one more thing while testing it out. Since the new document image is based on scratch, there is no /tmp
directory.
We might want to add:
RUN mkdir /tmp
to the Dockerfile.document
or mount it here as volume with something like:
volumes:
- ./data/document-tmp:/tmp
for the document_processor
RUN mkdir /tmp
Confirmed that the document processor errors out without the /tmp
directory being present. I've added that command to the Dockerfile.document
Edit: Found out that doesn't work on the scratch image b/c there's no shell. Reverted that change and am adding the following volume mapping to the processor
config. Found that to work locally.
volumes:
- ./data/storage/tmp:/tmp