Gabriel Luiz Freitas Almeida commited on
Commit
9bf754d
·
verified ·
1 Parent(s): 9f5d88a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]