Share feedback, ideas and get community help

Updated 11 months ago

How do I create a new docker Image?

Hi, I did create a new block using the forge, and was trying to test in another machine using the docker image, but when I try to build the image using the original docker-compose.build, i get this error, using the original docker-compsoe.build,yml without modification, on windows, what I`m doing wrong?

thank you
Attachments
image.png
image.png
B
t
V
39 comments
I'm not sure what's wrong here. Can you share the link to your repo with your new block so that I try it out?
thanks @Baptiste for helping
In my .pnpm folder the prisma was in version 5.8.0, so I changed to match, and updated the docker file, but now I got another error
Attachments
image.png
image.png
I think i got it
so in the main branch the prisma was updated to the version 5.8.0, but the dockerfile it was not
but, in this version, addicional modules is required, thats why the module not found error was throw
I add the necessary modules to the dockerfile, and the build worked
I will make some tests, and if works i will make a PR
I'm also have to deploy an image with a custom code.
There's no step by step for doing this on the documentation.
Could you share how to build and deploy the custom image?
its simple, if u whare using the main branch you need to change your dockerfile to
and run docker-compose -f .\docker-compose.build.yml build
Thank you so much!
I'm not into DevOps and stuff, and it's getting really frustrating that I've been on this for days now.
Oh right, that's a good point!
@thercd: I hope I'm not not burdening you too much, but I'm really clueless about this.
I have already Typebot running on a VPS with a file in the format below.
It's already on production, so I need to modify it so it use the code from a fork instead of the default docker image, without changing all the DB, authentication and other configuration.
Plain Text
services:
  typebot-builder:
    image: baptistearno/typebot-builder:latest
    ...
  typebot-viewer:
    image: baptistearno/typebot-viewer:latest
    ...

Could you tell me what I'm supposed to do, step by step, "like i'm 5"? 😬
That's not an easy process...
Instead of using image here, you'd have to use build
An example of it is the docker-compose.build.yml file in the repository root
Would you have an step for step for dumb people?
Like I said, that's not easy
You need to be comfortable with devops to do that
Yeah! I'm definitely not. That's not my area.
So I guess my only option is to quit. ☹️
Well, thank you, anyway!
What are you trying to deploy? Anything that I can deploy in the official build?
By "quit" I mean "quit deploy by myself".
I'll have to put my project on hold and wait till the new functions and fixes are part of the latest image (assuming they eventually will).
I'm smart enough to modify the code to meet my requirements, yet I'm too stupid to deploy it.
So frustrating.
to create a image with a custom name @Vilela™, do you need to put the name in the docker-compose.build file
and the image will be created
and will show in the docker desktop
Attachment
image.png
but to push in to docker hub, you will need to create the repo, and your image name need to match the repo name
if matches the name of you online dockerhub repo you can click in 3 dots and push to hub
Attachment
image.png
my docker-compose. build exemple
Attachment
image.png
@Vilela™ hope thats helpfull
I did it! Thank you so much @thercd !
Attachment
image.png
Add a reply
Sign up and join the conversation on Discord