suraj551989 mihirjadhav commited on
Commit
e854402
·
verified ·
1 Parent(s): 5a48213

Updated node version and used legacy (#1)

Browse files

- Updated node version and used legacy (2a0fc001239681fc7f7c2f51ee52ff4b0afa0e6a)


Co-authored-by: Mihir Jadhav <[email protected]>

Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:18-alpine
2
  USER root
3
 
4
  # Arguments that can be passed at build time
@@ -16,7 +16,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
 
1
+ FROM node:20-alpine
2
  USER root
3
 
4
  # Arguments that can be passed at build time
 
16
  ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
17
 
18
  # Install Flowise globally
19
+ RUN npm install -g flowise --legacy-peer-deps
20
 
21
  # Configure Flowise directories using the ARG
22
  RUN mkdir -p $LOG_PATH $FLOWISE_PATH/uploads && chmod -R 777 $LOG_PATH $FLOWISE_PATH