.aptible.yml when using Direct Docker Image Deploy, you need to include these files in your Docker image at a pre-defined location:
- The
Procfilemust be located at/.aptible/Procfile. - The
.aptible.ymlmust be located at/.aptible/.aptible.yml.
CMD to know which service command to run.
Creating a suitable Docker Image
Here is how you can create those files in your Dockerfile, assuming you have files namedProcfile and .aptible.yml at the root of your Docker build context:
docker build . to build your image, then the build context is the current directory.
