FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
30.25k stars 15.63k forks source link

[BUG] Updated, now Docker container stuck in infinite loop #2651

Closed themeaningofmeaning closed 3 months ago

themeaningofmeaning commented 3 months ago

I updated to the most version from the last and now my Docker container gets stuck in an infinite loop after starting the container returning "Error: Unexpected arguments: /bin/sh, -c, sleep 3; flowise start" over and over in the logs. I've never had an issue up until now.

Screenshot 2024-06-15 at 10 03 19 PM

Here is my Dockerfile:

FROM node:18-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

CMD "flowise"
pgaurav007 commented 3 months ago

hi @themeaningofmeaning , replace this line in docker-compose file:

entrypoint: /bin/sh -c "sleep 3; flowise start"

instead of command: /bin/sh -c "sleep 3; flowise start"

themeaningofmeaning commented 3 months ago

entrypoint: /bin/sh -c "sleep 3; flowise start"



instead of command: /bin/sh -c "sleep 3; flowise start"

That did the trick, thank you!