Spaces:
Sleeping
Sleeping
Gabriel Luiz Freitas Almeida
commited on
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -20,9 +20,11 @@ WORKDIR $LANGFLOW_HOME
|
|
| 20 |
# Create logs directory and set permissions
|
| 21 |
RUN mkdir logs && chmod 777 logs
|
| 22 |
|
|
|
|
|
|
|
| 23 |
### Update permissions for Langflow
|
| 24 |
USER root
|
| 25 |
-
RUN chmod 777 /home/pn/*
|
| 26 |
USER pn
|
| 27 |
|
| 28 |
# Update the config.yaml file, build and install the langflow package
|
|
|
|
| 20 |
# Create logs directory and set permissions
|
| 21 |
RUN mkdir logs && chmod 777 logs
|
| 22 |
|
| 23 |
+
RUN chown -R pn:pn $LANGFLOW_HOME
|
| 24 |
+
|
| 25 |
### Update permissions for Langflow
|
| 26 |
USER root
|
| 27 |
+
RUN chmod 777 /home/pn/langflow/*
|
| 28 |
USER pn
|
| 29 |
|
| 30 |
# Update the config.yaml file, build and install the langflow package
|