Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
ARG BASE_IMAGE
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
# BenchFlow's official OpenCode registry uses precisely these paths.
|
||||
COPY node /opt/benchflow/node
|
||||
COPY js-agents /opt/benchflow/js-agents
|
||||
|
||||
RUN mkdir -p /opt/benchflow/bin \
|
||||
&& printf '%s\n' '#!/bin/sh' 'exec /opt/benchflow/node/bin/node /opt/benchflow/js-agents/bin/opencode "$@"' > /opt/benchflow/bin/opencode \
|
||||
&& chmod +x /opt/benchflow/bin/opencode \
|
||||
&& chmod -R a+rX /opt/benchflow
|
||||
Reference in New Issue
Block a user