mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-22 11:01:22 +03:00
5a73eaa588
* fix: Change the CMD flowise command to be the same as in the documentation. * Remove unnecessary npx command from dockerfile * Command was changed by the entrypoint in Docker Composer --------- Co-authored-by: Erasmo De Souza Pinheiro <erasmodesouzapinheiro@Erasmos-MacBook-Air.local>
22 lines
460 B
Docker
22 lines
460 B
Docker
FROM node:20-alpine
|
|
|
|
USER root
|
|
|
|
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
|
|
|
|
# You can install a specific version like: flowise@1.0.0
|
|
RUN npm install -g flowise
|
|
|
|
WORKDIR /data
|
|
|
|
ENTRYPOINT ["flowise", "start"]
|