andreasmartin commited on
Commit
c931f52
·
verified ·
1 Parent(s): bf626fb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -8,6 +8,7 @@ ARG DATABASE_PATH=$BASE_PATH
8
  ARG APIKEY_PATH=$BASE_PATH
9
  ARG SECRETKEY_PATH=$BASE_PATH
10
  ARG LOG_PATH=$BASE_PATH/logs
 
11
 
12
  # Install dependencies
13
  RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
@@ -16,7 +17,7 @@ ENV PUPPETEER_SKIP_DOWNLOAD=true
16
  ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
17
 
18
  # Install Flowise globally
19
- RUN npm install -g flowise
20
 
21
  # Configure Flowise directories using the ARG
22
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH
 
8
  ARG APIKEY_PATH=$BASE_PATH
9
  ARG SECRETKEY_PATH=$BASE_PATH
10
  ARG LOG_PATH=$BASE_PATH/logs
11
+ ARG FLOWISE_VERSION=latest
12
 
13
  # Install dependencies
14
  RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium
 
17
  ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
18
 
19
  # Install Flowise globally
20
+ RUN npm install -g flowise@${FLOWISE_VERSION}
21
 
22
  # Configure Flowise directories using the ARG
23
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH