feat(gui): docker orchestration and fleet supervision (bus daemon)
This commit is contained in:
+6
-3
@@ -42,6 +42,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
COPY --from=build /workspace/target/release/tines /usr/local/bin/
|
||||
COPY --from=build /workspace/target/release/tines-busd /usr/local/bin/
|
||||
|
||||
# The config path comes as the container arg (BT or bus mode, whichever the
|
||||
# config selects); no default CMD.
|
||||
ENTRYPOINT ["tines"]
|
||||
# The container command is the pinned argv from the fleet console:
|
||||
# `tines /data/config.json` — the binary comes first because the service
|
||||
# reads the config path from argv[1]. No ENTRYPOINT (it would swallow the
|
||||
# argv); no default CMD (a bare `docker run` without the command is an
|
||||
# error, which is what we want).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user