GabrielLogspace commited on
Commit
39060f5
1 Parent(s): fe0b28e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -11
Dockerfile CHANGED
@@ -4,20 +4,11 @@ FROM nikolaik/python-nodejs
4
  # Update and install required packages
5
  RUN apt-get update && apt-get install -y gcc make
6
 
7
- RUN apt-get update && apt-get install gcc g++ git make -y
8
- RUN useradd -m -u 1000 user_lf
9
- USER user
10
- ENV HOME=/home/user_lf \
11
- PATH=/home/user_lf/.local/bin:$PATH
12
-
13
- WORKDIR $HOME
14
  # Clone the langflow repository and switch to the dev branch
15
  ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
16
  RUN git clone https://github.com/logspace-ai/langflow.git
17
- RUN cd langflow && git checkout dev
18
- WORKDIR $HOME/langflow
19
-
20
-
21
 
22
  # Update the config.yaml file, build and install the langflow package
23
  RUN sed -i 's/dev: false/dev: true/' src/backend/langflow/config.yaml && make build && pip install dist/*.tar.gz
 
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