File size: 482 Bytes
4853175
23faed9
 
 
2377d1a
2e858e1
23faed9
 
 
 
4853175
 
23faed9
2e858e1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM flowiseai/flowise
USER root

# Arguments that can be passed at build time
ARG FLOWISE_PATH=/usr/local/lib/node_modules/flowise
ARG BASE_PATH=/data/.flowise
ARG DATABASE_PATH=$BASE_PATH
ARG SECRETKEY_PATH=$BASE_PATH
ARG LOG_PATH=$BASE_PATH/logs
ARG BLOB_STORAGE_PATH=$BASE_PATH/storage
ENV FLOWISE_USERNAME=yzw
ENV PORT=7860
# Configure Flowise directories using the ARG
RUN mkdir -p $BASE_PATH $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH $BASE_PATH