Spaces:
Paused
Paused
| 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"] |