create volume for database storage

#2
by deleted - opened
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -19,6 +19,9 @@ ENV OVERRIDE_DATABASE=false
19
  # Install Flowise globally
20
  RUN npm install -g flowise
21
 
 
 
 
22
  # Configure Flowise directories using the ARG
23
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
24
 
 
19
  # Install Flowise globally
20
  RUN npm install -g flowise
21
 
22
+ # create volume
23
+ VOLUME ["/root/.flowise"]
24
+
25
  # Configure Flowise directories using the ARG
26
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
27