From 5a73eaa58822fb4f3fd224631d3a3c7715b03d82 Mon Sep 17 00:00:00 2001 From: Erasmo Pinheiro <85361327+erasmo-pinheiro@users.noreply.github.com> Date: Tue, 4 Jun 2024 12:23:30 -0300 Subject: [PATCH] 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 --- docker/Dockerfile | 2 +- docker/docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 261ecdaf0..6fb59404c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,4 +18,4 @@ RUN npm install -g flowise WORKDIR /data -CMD "flowise" +ENTRYPOINT ["flowise", "start"] diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c23931d57..55f890e69 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -33,4 +33,4 @@ services: - '${PORT}:${PORT}' volumes: - ~/.flowise:/root/.flowise - command: /bin/sh -c "sleep 3; flowise start" + entrypoint: /bin/sh -c "sleep 3; flowise start"