No CMD or Procfile in Image

Deploy failed with "image does not expose a CMD, and repository does not have a Procfile"

Cause

Aptible Deploy relies on your Image's CMD or the presence of a Procfile in order to define Services for your App.

If your App has neither, the deploy cannot succeed.

Resolution

Add a CMD directive to your image, or add a Procfile in your repository.


Did this page help you?