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
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?
yes
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 .
![No description](https://cdn.answeroverflow.com/1221833249970585621/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
![No description](https://cdn.answeroverflow.com/1221833302638596207/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
![No description](https://cdn.answeroverflow.com/1221846180489724056/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?