fix(ingest): flush Document before FK inserts; build fixes; shared-minio overlay
This commit is contained in:
@@ -22,6 +22,7 @@ RUN apt-get update \
|
||||
build-essential \
|
||||
curl \
|
||||
ca-certificates \
|
||||
git \
|
||||
ghostscript \
|
||||
qpdf \
|
||||
unpaper \
|
||||
@@ -51,7 +52,14 @@ COPY pyproject.toml README.md alembic.ini /app/
|
||||
COPY app /app/app
|
||||
COPY scripts /app/scripts
|
||||
|
||||
# Local build: install the recognition engine from a pre-built wheel (the
|
||||
# pinned git source lives in a private GitHub repo unreachable from the build
|
||||
# container without credentials), then relax the pyproject pin to a version
|
||||
# spec inside this layer only - the repo file stays untouched.
|
||||
COPY docker/wheels /tmp/wheels
|
||||
RUN pip install --upgrade pip wheel setuptools \
|
||||
&& pip install /tmp/wheels/*.whl \
|
||||
&& sed -i 's|"teamhub-document-recognition-engine @ git+[^"]*"|"teamhub-document-recognition-engine>=0.1.0"|' pyproject.toml \
|
||||
&& pip install -e .
|
||||
|
||||
RUN mkdir -p /data/input /data/work
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user