Help in custom image

To create a custom typebot image, what are the commands? I will keep the default docker fiile as I will install it through portainer
11 Replies
Baptiste
Baptiste15mo ago
docker build -t typebot-builder --build-arg SCOPE=builder . docker build -t typebot-viewer --build-arg SCOPE=viewer .
Hélio Potelicki
Hélio Potelicki14mo ago
I'm getting this error when trying to use the image I built /bin/sh: 1: ./builder-entrypoint.sh: not found
Baptiste
Baptiste14mo ago
So the build succeed but then you have this error?
Hélio Potelicki
Hélio Potelicki14mo ago
yes I'm on Windows 11, can this influence it?
Baptiste
Baptiste14mo ago
Let me know exactly what command produces that error message this is not clear enough provide more info
Hélio Potelicki
Hélio Potelicki14mo ago
I modified the source code, and built it with this command docker build -t typebot-builder --build-arg SCOPE=builder .
No description
Hélio Potelicki
Hélio Potelicki14mo ago
The build occurred normally, but when running the generated docker image, I receive the error: /bin/sh: 1: ./builder-entrypoint.sh: not found
No description
Hélio Potelicki
Hélio Potelicki14mo ago
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
No description
luisfernando_lbi
luisfernando_lbiOP13mo ago
@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 .
Baptiste
Baptiste13mo ago
No change, should work 🙂
Pedro Magalhaes
Pedro Magalhaes13mo ago
Did you manage to do it?

Did you find this page helpful?