Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
3 |
-
|
4 |
# Update and install required packages
|
5 |
RUN apt-get update && apt-get install gcc g++ git make pipx -y
|
6 |
|
@@ -27,8 +27,8 @@ RUN chown -R pn:pn $LANGFLOW_HOME
|
|
27 |
RUN chmod 777 /home/pn/langflow/*
|
28 |
USER pn
|
29 |
|
|
|
30 |
|
31 |
# Update the config.yaml file, build and install the langflow package
|
32 |
-
RUN --chown=pn:pn make setup_poetry && make install_frontend && make build_frontend && make install_backend
|
33 |
|
34 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug", "open_browser=false"]
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
3 |
+
USER pn
|
4 |
# Update and install required packages
|
5 |
RUN apt-get update && apt-get install gcc g++ git make pipx -y
|
6 |
|
|
|
27 |
RUN chmod 777 /home/pn/langflow/*
|
28 |
USER pn
|
29 |
|
30 |
+
RUN make setup_poetry && make install_frontend && make build_frontend && make install_backend
|
31 |
|
32 |
# Update the config.yaml file, build and install the langflow package
|
|
|
33 |
|
34 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug", "open_browser=false"]
|