fix: adjust GitLoader to work in a hosted environment (#5040)
* fix: add git installation to dockerfile dependencies * chore: make input optional
This commit is contained in:
parent
41d3fbcc2a
commit
44a3e7643a
4 changed files with 5 additions and 2 deletions
|
|
@ -24,6 +24,7 @@ RUN apt-get update \
|
|||
&& apt-get install --no-install-recommends -y \
|
||||
# deps for building python deps
|
||||
build-essential \
|
||||
git \
|
||||
# npm
|
||||
npm \
|
||||
# gcc
|
||||
|
|
@ -82,4 +83,4 @@ WORKDIR /app
|
|||
ENV LANGFLOW_HOST=0.0.0.0
|
||||
ENV LANGFLOW_PORT=7860
|
||||
|
||||
CMD ["langflow", "run"]
|
||||
CMD ["langflow", "run"]
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@ RUN apt-get update \
|
|||
&& apt-get install --no-install-recommends -y \
|
||||
# deps for building python deps
|
||||
build-essential \
|
||||
git \
|
||||
# npm
|
||||
npm \
|
||||
# gcc
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ RUN apt-get update \
|
|||
&& apt-get install --no-install-recommends -y \
|
||||
# deps for building python deps
|
||||
build-essential \
|
||||
git \
|
||||
# npm
|
||||
npm \
|
||||
# gcc
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ class GitLoaderComponent(Component):
|
|||
MessageTextInput(
|
||||
name="repo_path",
|
||||
display_name="Repository Path",
|
||||
required=True,
|
||||
required=False,
|
||||
info="The local path to the Git repository.",
|
||||
),
|
||||
MessageTextInput(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue