fix: lfx boot, deploy key, and entrypoint perms for compose/devcontainer
This commit is contained in:
parent
c8280f7078
commit
d4aeab8dbf
5 changed files with 50 additions and 6 deletions
|
|
@ -18,5 +18,9 @@ VOLUME /flows
|
|||
EXPOSE 6004
|
||||
|
||||
# Serve the /flows dir (uploaded flows persist there via --flow-dir).
|
||||
# Flags verified against `lfx serve --help` (lfx 1.12.0).
|
||||
CMD ["lfx", "serve", "--host", "0.0.0.0", "--port", "6004", "--flow-dir", "/flows", "/flows"]
|
||||
# No positional path: with one, lfx>=1.12.1 exits when the dir holds no
|
||||
# .json yet ("No .json files found"), restart-looping the container on
|
||||
# first boot. --flow-dir alone starts clean (health 200); the API sync
|
||||
# deploys backend/flows/*.json right after boot.
|
||||
# Flags verified against `lfx serve --help` (lfx 1.12.x).
|
||||
CMD ["lfx", "serve", "--host", "0.0.0.0", "--port", "6004", "--flow-dir", "/flows"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue