GabrielLogspace commited on
Commit
4c2dd82
1 Parent(s): 89b3686

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -3,9 +3,9 @@ FROM nikolaik/python-nodejs:python3.10-nodejs21
3
  # Update and install required packages
4
  RUN apt-get update && apt-get install gcc g++ git make pipx -y
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
@@ -23,7 +23,7 @@ USER pn
23
  RUN mkdir logs && chmod 777 logs
24
 
25
  # Set permissions for database folder
26
- RUN chmod 777 /home/langflow
27
 
28
  # Update the config.yaml file, build and install the langflow package
29
  RUN make setup_poetry && make install_frontend && make build_frontend && make install_backend
 
3
  # Update and install required packages
4
  RUN apt-get update && apt-get install gcc g++ git make pipx -y
5
 
6
+ ENV LANGFLOW_HOME=/home/pn \
7
  PATH=/root/.local/bin:$PATH
8
+ ENV LANGFLOW_DATABASE_URL=sqlite:////home/pn/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
 
23
  RUN mkdir logs && chmod 777 logs
24
 
25
  # Set permissions for database folder
26
+ RUN chmod 777 /home/pn
27
 
28
  # Update the config.yaml file, build and install the langflow package
29
  RUN make setup_poetry && make install_frontend && make build_frontend && make install_backend