GabrielLogspace commited on
Commit
4fb5f9f
1 Parent(s): 4ad6c20

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -4
Dockerfile CHANGED
@@ -1,13 +1,15 @@
 
1
  FROM nikolaik/python-nodejs
2
 
 
3
  RUN apt-get update && apt-get install -y gcc make
4
 
5
- # install dependencies
6
-
7
- # Clone ttp://github.com/logspace-ai/langfow.git and change to branch dev
8
  ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
9
  RUN git clone https://github.com/logspace-ai/langflow.git
10
  WORKDIR /langflow
11
- RUN git checkout dev && sed -i 's/dev: false/dev: true/' config.yaml && make build && pip install dist/*.tar.gz
12
 
 
 
13
  CMD ["langflow", "--host", "0.0.0.0", "--port", "7860"]
 
1
+
2
  FROM nikolaik/python-nodejs
3
 
4
+ # Update and install required packages
5
  RUN apt-get update && apt-get install -y gcc make
6
 
7
+ # Clone the langflow repository and switch to the dev branch
 
 
8
  ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
9
  RUN git clone https://github.com/logspace-ai/langflow.git
10
  WORKDIR /langflow
11
+ RUN git checkout dev
12
 
13
+ # Update the config.yaml file, build and install the langflow package
14
+ RUN sed -i 's/dev: false/dev: true/' src/backend/langflow/config.yaml && make build && pip install dist/*.tar.gz
15
  CMD ["langflow", "--host", "0.0.0.0", "--port", "7860"]