Spaces:
Sleeping
Sleeping
otavioLogspace
commited on
Commit
•
8f5d5fe
1
Parent(s):
c281631
Update Dockerfile
Browse files- Dockerfile +5 -11
Dockerfile
CHANGED
@@ -3,23 +3,17 @@ FROM nikolaik/python-nodejs
|
|
3 |
# Update and install required packages
|
4 |
RUN apt-get update && apt-get install gcc g++ git make -y
|
5 |
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
ENV HOME=/home/node \
|
10 |
-
LANGFLOW_HOME=/home/node/langflow \
|
11 |
-
PATH=/home/node/.local/bin:$PATH
|
12 |
|
13 |
# Clone the langflow repository and switch to the dev branch
|
14 |
ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
|
15 |
-
USER root
|
16 |
RUN git clone https://github.com/logspace-ai/langflow.git $LANGFLOW_HOME \
|
17 |
-
&&
|
18 |
-
|
19 |
-
WORKDIR $LANGFLOW_HOME
|
20 |
-
RUN git checkout dev
|
21 |
|
22 |
# Copy the code into the container
|
|
|
23 |
COPY . .
|
24 |
|
25 |
# Update the config.yaml file, build and install the langflow package
|
|
|
3 |
# Update and install required packages
|
4 |
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/dev version.json
|
|
|
11 |
RUN git clone https://github.com/logspace-ai/langflow.git $LANGFLOW_HOME \
|
12 |
+
&& cd $LANGFLOW_HOME \
|
13 |
+
&& git checkout dev
|
|
|
|
|
14 |
|
15 |
# Copy the code into the container
|
16 |
+
WORKDIR $LANGFLOW_HOME
|
17 |
COPY . .
|
18 |
|
19 |
# Update the config.yaml file, build and install the langflow package
|