Record the connectors and what is still read-only
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011LF61rxW1FG5YCD2J9YqjY
This commit is contained in:
@@ -40,6 +40,15 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||
uv sync --frozen --package app
|
||||
|
||||
# Connectors are ordinary installed packages found through the
|
||||
# `fluksio.node_types` entry point. `make connectors` builds them into here;
|
||||
# an image with none is the normal case.
|
||||
COPY ./backend/connector-wheels /tmp/connector-wheels
|
||||
RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
sh -c 'ls /tmp/connector-wheels/*.whl >/dev/null 2>&1 \
|
||||
&& uv pip install --python /app/.venv/bin/python /tmp/connector-wheels/*.whl \
|
||||
|| echo "no connectors bundled"'
|
||||
|
||||
WORKDIR /app/backend/
|
||||
|
||||
# Single worker on purpose: the process hosts the flow engine, and a second
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
*.whl
|
||||
@@ -0,0 +1,3 @@
|
||||
Connector wheels built by `make connectors` at the workspace root land here and
|
||||
are installed into the image. Kept empty in git: a connector is an installed
|
||||
package, not part of the app.
|
||||
Reference in New Issue
Block a user