mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
Docs corpus (Langflow->Hanzo Flow, upstream URLs langflow-ai/langflow->hanzoai/ flow, docs.langflow.org->docs.hanzo.ai), starter-project template help-URLs, CI workflows, and test files. Remaining 'langflow' repo-wide is now dominated by LANGFLOW_* env-var names + langflow_ settings fields — the config-boundary layer deliberately preserved pending a coordinated FLOW_/HANZO_ alias-with-fallback (renaming them blind breaks every deployment).
26 lines
885 B
Docker
26 lines
885 B
Docker
# syntax=docker/dockerfile:1
|
|
# Keep this syntax directive! It's used to enable Docker BuildKit
|
|
|
|
################################
|
|
# BUILDER-BASE
|
|
################################
|
|
|
|
# 1. force platform to the current architecture to increase build speed time on multi-platform builds
|
|
FROM --platform=$BUILDPLATFORM node:lts-bookworm-slim AS builder-base
|
|
COPY src/frontend /frontend
|
|
|
|
RUN cd /frontend && npm install && npm run build
|
|
|
|
################################
|
|
# RUNTIME
|
|
################################
|
|
FROM ghcr.io/hanzoai/static:latest AS runtime
|
|
|
|
LABEL org.opencontainers.image.title=flow-frontend
|
|
LABEL org.opencontainers.image.authors=['Hanzo Flow']
|
|
LABEL org.opencontainers.image.licenses=MIT
|
|
LABEL org.opencontainers.image.url=https://github.com/hanzoai/flow
|
|
LABEL org.opencontainers.image.source=https://github.com/hanzoai/flow
|
|
|
|
COPY --from=builder-base /frontend/build /srv
|