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
Baptiste7mo ago
docker build -t typebot-builder --build-arg SCOPE=builder . docker build -t typebot-viewer --build-arg SCOPE=viewer .
Hélio Potelicki
I'm getting this error when trying to use the image I built /bin/sh: 1: ./builder-entrypoint.sh: not found
Baptiste
Baptiste6mo ago
So the build succeed but then you have this error?
Hélio Potelicki
yes I'm on Windows 11, can this influence it?
Baptiste
Baptiste6mo ago
Let me know exactly what command produces that error message this is not clear enough provide more info
Hélio Potelicki
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
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
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
@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
Baptiste6mo ago
No change, should work 🙂
Pedro Magalhaes
Pedro Magalhaes5mo ago
Did you manage to do it?
Want results from more Discord servers?
Add your server