Spaces:
Sleeping
Sleeping
otavioLogspace
commited on
Commit
•
111ef26
1
Parent(s):
45d5b6e
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -5,6 +5,7 @@ RUN apt-get update && apt-get install gcc g++ git make -y
|
|
5 |
|
6 |
ENV LANGFLOW_HOME=/home/langflow \
|
7 |
PATH=/root/.local/bin:$PATH
|
|
|
8 |
|
9 |
# Clone the langflow repository and switch to the dev branch
|
10 |
ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/db version.json
|
@@ -25,4 +26,4 @@ RUN chmod 777 /home/langflow
|
|
25 |
# Update the config.yaml file, build and install the langflow package
|
26 |
RUN make build && pip install dist/*.tar.gz
|
27 |
|
28 |
-
CMD ["langflow","run", "--host", "0.0.0.0", "--port", "7860"
|
|
|
5 |
|
6 |
ENV LANGFLOW_HOME=/home/langflow \
|
7 |
PATH=/root/.local/bin:$PATH
|
8 |
+
ENV LANGFLOW_DATABASE_URL=sqlite:////home/langflow/langflow.db
|
9 |
|
10 |
# Clone the langflow repository and switch to the dev branch
|
11 |
ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/db version.json
|
|
|
26 |
# Update the config.yaml file, build and install the langflow package
|
27 |
RUN make build && pip install dist/*.tar.gz
|
28 |
|
29 |
+
CMD ["langflow","run", "--host", "0.0.0.0", "--port", "7860"]
|