Update: The Easiest Approach to Deploy Flowise
I just figured out an approach that is much better than using Dockerfile (as described above).
If you are using Huggingface, then you must use Dockerfile.
However, using Dockerfile means the server will build the image from scratch.
This requires at least 2vCPU and 16GB of RAM.
Huggingface offers 2vCPU and 16GB of RAM for free.
But if you are using Coolify, then you have to scale up your server (at least for the building process).
A better way to deploy Flowise is to use a prebuilt image.
Easypanel is actually using this way to deploy Flowise.
The image it is using: flowiseai/flowise:latest
image.png
But if you are using Coolify, this image does not work very well. I tried many many times.
I recommand using another image built by Elestio: elestio/flowiseai:latest
image.png
Just copy "elestio/flowiseai:latest" and paste it to Coolify, and expose a PORT (such as 3000, 8000), and hit Deploy!