File size: 526 Bytes
0ff8830
 
 
 
784e231
0ff8830
 
 
 
 
 
 
 
 
 
 
 
 
 
88178d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM node:18-alpine
USER root

# Hugging Face Spaces port
ENV PORT=7860

# Install dependencies
RUN apk add --no-cache git python3 py3-pip make g++ build-base cairo-dev pango-dev chromium

ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser

# Install Flowise globally - exact old version
RUN npm install -g flowise@2.2

# Simple working directory
WORKDIR /app

# Start command - let Flowise create its own directories
CMD ["npx", "flowise", "start", "--port", "7860", "--host", "0.0.0.0"]