mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
feat(cli): make clb web the primary web command
This commit is contained in:
1 parent
c6db9f0c4c
commit
47299a94cb
64 files changed
+264
-270
No files matched your search
@@ -9,7 +9,7 @@ RUN test -n "$CHATLAB_VERSION" \
|
||||
&& apt-get update \
|
||||
&& apt-get install --yes --no-install-recommends g++ make python3 \
|
||||
&& npm install --global --omit=dev "chatlab-cli@${CHATLAB_VERSION}" \
|
||||
&& CHATLAB_SKIP_UPDATE_CHECK=1 chatlab runtime install local-embedding \
|
||||
&& CHATLAB_SKIP_UPDATE_CHECK=1 clb runtime install local-embedding \
|
||||
&& npm cache clean --force \
|
||||
&& apt-get purge --yes --auto-remove g++ make python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
@@ -23,5 +23,5 @@ USER node
|
||||
|
||||
EXPOSE 3110
|
||||
|
||||
ENTRYPOINT ["chatlab"]
|
||||
CMD ["start", "--no-open", "--host", "0.0.0.0"]
|
||||
ENTRYPOINT ["clb"]
|
||||
CMD ["web", "--no-open", "--host", "0.0.0.0"]
|
||||
Reference in new issue
Block a user