Spaces:
Sleeping
Sleeping
Gabriel Luiz Freitas Almeida
commited on
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -23,10 +23,10 @@ WORKDIR $LANGFLOW_HOME
|
|
23 |
# Create logs directory and set permissions
|
24 |
RUN mkdir logs && chmod 777 logs
|
25 |
|
26 |
-
|
|
|
27 |
RUN chmod 777 /home/langflow
|
28 |
-
|
29 |
-
RUN chown -R user:user /home/langflow
|
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
|
|
|
23 |
# Create logs directory and set permissions
|
24 |
RUN mkdir logs && chmod 777 logs
|
25 |
|
26 |
+
### Update permissions for Langflow
|
27 |
+
USER root
|
28 |
RUN chmod 777 /home/langflow
|
29 |
+
USER user
|
|
|
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
|