The GitHub repo is: https://github.com/FlowiseAI/Flowise
The project already has a Dockerfile. I've ran the following to create a Docker image for the project:
docker build --no-cache -t zulele/flowise:1.1.0 .
The image was created successfully. But when I ran a container from the built image:
docker run -d --name flowise -p 3000:3000 zulele/flowise:1.1.0
I got the following error:

I thought maybe the error is regarding Docker not being able to locate the run file. So I copied the packages folder separately in the image by adding the following command in the Dockerfile:
COPY packages ./packages
But I still got the same error. Then, I located the run file in the Docker container files and added the path to that file in the package.json file. But then it gave me the following error:

You have working directory set to
/usr/src/packagesand you're copying files topackages/server. However, package.json scripts looks for the file in thepackage/server/bindirectory. Sopackagesis put twice in the path. The solution is to change working directory to/usr/src, or removepackages/from allCOPYinstructions.