GabrielLogspace commited on
Commit
89b3686
1 Parent(s): 34754ba

Update Dockerfile

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