Spaces:
Sleeping
Sleeping
Gabriel Luiz Freitas Almeida
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -24,11 +24,11 @@ RUN mkdir logs && chmod 777 logs
|
|
24 |
### Update permissions for Langflow
|
25 |
USER root
|
26 |
RUN chown -R pn:pn $LANGFLOW_HOME
|
27 |
-
RUN chown -R pn:pn /tmp/*
|
28 |
RUN chmod 777 /home/pn/langflow/*
|
29 |
USER pn
|
30 |
|
|
|
31 |
# Update the config.yaml file, build and install the langflow package
|
32 |
-
RUN 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"]
|
|
|
24 |
### Update permissions for Langflow
|
25 |
USER root
|
26 |
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"]
|