Under the hood, koyeb creates a basic docker image of our application, if I don’t specify a Dockerfile?
Is it a better practice to provide one or koyeb using Buildpacks if there is no Dockerfile?
Hello @gben9302!
Under the hood, koyeb creates a basic docker image of our application, if I don’t specify a Dockerfile?
Yes .
Is it a better practice to provide one or koyeb using Buildpacks if there is no Dockerfile?
We use Buildpacks, so without Dockerfile, we will try to build one for you. Right now, we support builds from Node, Python, Go, PHP, Ruby, and Java.
If you provide a Dockerfile in the repository, it does not change anything as we do not support yet building using a Dockerfile (see Build from Dockerfiles | Voters | Koyeb).
Lastly, if buildpacks don’t work for you, you can still build an image of your repository on your end, push it to your container registry of choice, and use that instead of your git repository.
1 Like