Skip to content

Use multi-stage build for processing dependencies#420

Open
eyeseast wants to merge 1 commit into
masterfrom
fix-local-reprocessing-redaction
Open

Use multi-stage build for processing dependencies#420
eyeseast wants to merge 1 commit into
masterfrom
fix-local-reprocessing-redaction

Conversation

@eyeseast

Copy link
Copy Markdown
Contributor

This fixes a problem I was having locally where OCR and redaction failed because of missing binaries. More here: https://gist.github.com/eyeseast/434734582ae07ee5845abe968f7fc108

We now use a multi-stage build to compile dependencies in Ubuntu and then copy them into our python:3.12-slim image, so the processing scripts can find them.

This only affects local development, not production.

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.

1 participant