Spaces:
Runtime error
Runtime error
Download Dockerfile from Yeric7/flowisextd: direct link, hf CLI and curl.
- Browser
- Download file 922 Bytes
-
https://huggingface.co/spaces/Yeric7/flowisextd/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Yeric7/flowisextd/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Yeric7/flowisextd/resolve/main/Dockerfile
922 Bytes
| FROM node:18-alpine | |
| RUN mkdir -p /data && mkdir -p /data/flowise && mkdir -p /data/flowise/logs && chmod -R 777 /data | |
| # Set home to the /data directory | |
| ENV HOME=/data | |
| WORKDIR $HOME/flowise | |
| RUN apk add --no-cache git | |
| RUN apk add --no-cache python3 py3-pip make g++ | |
| # needed for pdfjs-dist | |
| RUN apk add --no-cache build-base cairo-dev pango-dev | |
| # Install Chromium | |
| RUN apk add --no-cache chromium | |
| ENV PUPPETEER_SKIP_DOWNLOAD=true | |
| ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser | |
| ENV DATABASE_PATH=$HOME/flowise | |
| ENV APIKEY_PATH=$HOME/flowise | |
| ENV LOG_PATH=$HOME/flowise/logs | |
| ENV LOG_LEVEL=debug | |
| ENV DEBUG=true | |
| # You can install a specific version like: flowise@1.0.0 | |
| RUN npm install -g flowise | |
| RUN mkdir -p /usr/local/lib/node_modules/flowise && mkdir -p /usr/local/lib/node_modules/flowise/uploads && chmod -R 777 /usr/local/lib/node_modules/flowise | |
| USER 1000 | |
| EXPOSE 3000 | |
| CMD /bin/sh -c "sleep 3; flowise start" |