Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +0 -5
Dockerfile
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
3 |
-
USER root
|
4 |
# Update and install required packages
|
5 |
RUN apt-get update && apt-get install gcc g++ git make pipx -y
|
6 |
|
@@ -14,9 +13,6 @@ RUN git clone https://github.com/logspace-ai/langflow.git $LANGFLOW_HOME \
|
|
14 |
&& cd $LANGFLOW_HOME \
|
15 |
&& git checkout zustand/io/migration && git pull
|
16 |
|
17 |
-
# Copy the code into the container
|
18 |
-
RUN chown -R pn:pn $LANGFLOW_HOME
|
19 |
-
|
20 |
WORKDIR $LANGFLOW_HOME
|
21 |
|
22 |
# Create logs directory
|
@@ -26,5 +22,4 @@ RUN pipx install poetry
|
|
26 |
RUN make install_frontend && make build_frontend && make install_backend
|
27 |
|
28 |
# Update the config.yaml file, build and install the langflow package
|
29 |
-
USER pn
|
30 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug"]
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
|
|
3 |
# Update and install required packages
|
4 |
RUN apt-get update && apt-get install gcc g++ git make pipx -y
|
5 |
|
|
|
13 |
&& cd $LANGFLOW_HOME \
|
14 |
&& git checkout zustand/io/migration && git pull
|
15 |
|
|
|
|
|
|
|
16 |
WORKDIR $LANGFLOW_HOME
|
17 |
|
18 |
# Create logs directory
|
|
|
22 |
RUN make install_frontend && make build_frontend && make install_backend
|
23 |
|
24 |
# Update the config.yaml file, build and install the langflow package
|
|
|
25 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug"]
|