Share feedback, ideas and get community help

Updated 4 months ago

Help in custom image

At a glance

A community member asked how to create a custom Typebot image, and provided the commands docker build -t typebot-builder --build-arg SCOPE=builder . and docker build -t typebot-viewer --build-arg SCOPE=viewer .. However, they encountered an issue where the generated Docker image produced the error /bin/sh: 1: ./builder-entrypoint.sh: not found. After some discussion, another community member suggested that specifying which image they are building ("builder" or "viewer") in the Dockerfile solved the problem.

To create a custom typebot image, what are the commands? I will keep the default docker fiile as I will install it through portainer
1
B
H
l
14 comments
docker build -t typebot-builder --build-arg SCOPE=builder .

docker build -t typebot-viewer --build-arg SCOPE=viewer .
I'm getting this error when trying to use the image I built

/bin/sh: 1: ./builder-entrypoint.sh: not found
So the build succeed but then you have this error?
I'm on Windows 11, can this influence it?
Let me know exactly what command produces that error message
this is not clear enough
provide more info
I modified the source code, and built it with this command
docker build -t typebot-builder --build-arg SCOPE=builder .
Attachment
image.png
The build occurred normally, but when running the generated docker image, I receive the error:
/bin/sh: 1: ./builder-entrypoint.sh: not found
Attachment
image.png
I managed to get around it like this.
Before building the "builder" or "viewer"

I specifically put which one I'm running in the Dockerfile.
Solved my problem
Attachment
image.png
@Baptiste Good evening, friend! Has the process changed to create a custom image?

I am unable to do so with the commands:

docker build -t typebot-builder --build-arg SCOPE=builder . docker build -t typebot-viewer --build-arg SCOPE=viewer .
No change, should work 🙂
Did you manage to do it?
Add a reply
Sign up and join the conversation on Discord