fix: Change the CMD flowise command in Dockerfile to be the same as in the document (#2563)

* 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>
This commit is contained in:
Erasmo Pinheiro 2024-06-04 12:23:30 -03:00 committed by GitHub
parent 4ec8376efa
commit 5a73eaa588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -18,4 +18,4 @@ RUN npm install -g flowise
WORKDIR /data WORKDIR /data
CMD "flowise" ENTRYPOINT ["flowise", "start"]

View File

@ -33,4 +33,4 @@ services:
- '${PORT}:${PORT}' - '${PORT}:${PORT}'
volumes: volumes:
- ~/.flowise:/root/.flowise - ~/.flowise:/root/.flowise
command: /bin/sh -c "sleep 3; flowise start" entrypoint: /bin/sh -c "sleep 3; flowise start"