leek commited on
Commit
3a16fd8
1 Parent(s): 09e0b8c

Fixing dependency issues

Browse files

The "@gomomento/sdk" dependency was updated last night, which caused issues for Flowise. Have submitted an official request for them to fix this [here](https://github.com/FlowiseAI/Flowise/issues/1238) but overriding the version here as a temporary workaround.

Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -15,8 +15,8 @@ RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-d
15
  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
 
15
  ENV PUPPETEER_SKIP_DOWNLOAD=true
16
  ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
17
 
18
+ # Install Flowise globally, pinning a dependency to fix runtime issues
19
+ RUN npm install -g flowise@"^1.4.2" "@gomomento/sdk@<1.50.0"
20
 
21
  # Configure Flowise directories using the ARG
22
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH