Spaces:
Sleeping
Sleeping
Gabriel Luiz Freitas Almeida
commited on
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -13,10 +13,12 @@ RUN git clone https://github.com/logspace-ai/langflow.git $LANGFLOW_HOME \
|
|
| 13 |
&& cd $LANGFLOW_HOME \
|
| 14 |
&& git checkout zustand/io/migration && git pull
|
| 15 |
|
|
|
|
| 16 |
# Copy the code into the container
|
| 17 |
WORKDIR $LANGFLOW_HOME
|
| 18 |
COPY . .
|
| 19 |
|
|
|
|
| 20 |
# Create logs directory and set permissions
|
| 21 |
RUN mkdir logs && chmod 777 logs
|
| 22 |
|
|
|
|
| 13 |
&& cd $LANGFLOW_HOME \
|
| 14 |
&& git checkout zustand/io/migration && git pull
|
| 15 |
|
| 16 |
+
RUN chown -R pn:pn $LANGFLOW_HOME
|
| 17 |
# Copy the code into the container
|
| 18 |
WORKDIR $LANGFLOW_HOME
|
| 19 |
COPY . .
|
| 20 |
|
| 21 |
+
USER pn
|
| 22 |
# Create logs directory and set permissions
|
| 23 |
RUN mkdir logs && chmod 777 logs
|
| 24 |
|