Spaces:
Paused
Paused
Update Dockerfile
Browse files2 unmodified lines34567891011121314151617181920214 unmodified lines262728293031322 unmodified lines# Arguments that can be passed at build timeARG FLOWISE_PATH=/usr/local/lib/node_modules/flowiseARG BASE_PATH=/data/.flowiseARG DATABASE_PATH=$BASE_PATHARG APIKEY_PATH=$BASE_PATHARG SECRETKEY_PATH=$BASE_PATHARG LOG_PATH=$BASE_PATH/logs# Set the ARGs as ENVENV FLOWISE_PATH=$FLOWISE_PATHENV BASE_PATH=$BASE_PATHENV DATABASE_PATH=$DATABASE_PATHENV APIKEY_PATH=$APIKEY_PATHENV SECRETKEY_PATH=$SECRETKEY_PATHENV LOG_PATH=$LOG_PATH# Install dependenciesRUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium4 unmodified lines# Install Flowise globallyRUN npm install -g flowise# # Configure Flowise directories using the ARGRUN mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATHCMD ["sh", "-c", "mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH && npx flowise start"]2 unmodified lines345678910111213144 unmodified lines1920212223242526272 unmodified lines# Arguments that can be passed at build timeARG FLOWISE_PATH=/usr/local/lib/node_modules/flowiseARG BASE_PATH=/root/.flowiseARG DATABASE_PATH=$BASE_PATHARG APIKEY_PATH=$BASE_PATHARG SECRETKEY_PATH=$BASE_PATHARG LOG_PATH=$BASE_PATH/logsARG BLOB_STORAGE_PATH=$BASE_PATH/storage# Install dependenciesRUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium4 unmodified lines# Install Flowise globallyRUN npm install -g flowise# Configure Flowise directories using the ARGRUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATHWORKDIR /dataCMD ["npx", "flowise", "start"]
Dockerfile+7-12