production
branch.
./
by default;
however, if your repository is a monorepo, you will need to specify the path to the subdirectory from which you would like your Porter application to be built (e.g. ./backend
).
Dockerfile
in the root path and build your applications using the ./Dockerfile
.
If your application is not containerized with a Dockerfile
, Porter will use Cloud Native Buildpacks to build your applications. Porter supports Heroku Buildpacks
as well as Paketo Buildpacks - in both cases, Porter will automatically detect the languages and frameworks in your repository to determine which buildpacks are necessary to build your application.
The build method will be automatically configured, but you can make manual changes to these settings if necessary by expanding the Configure Build Settings section.
porter.yaml
file as outlined in the Writing a porter.yaml guide, you should see this list populated with the services you defined in your porter.yaml
file.
Note that writing this file is optional.