Spaces:
Running
Running
Updated node version and used legacy
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM node:
|
| 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
|