A Dockerfile deploy is the easiest way to get up and running on Aptible if you're migrating over from another Platform-as-a-Service product, or if your team isn't using Docker yet.
The workflow for Dockerfile Deploy is as follows:
- You add a Dockerfile at the root of your code repository, and commit it.
- You use
git pushto push your code repository to a Git Remote provided by Aptible.
- Aptible builds a new Image from your Dockerfile, then starts new Containers for your App using the newly-built image.
If you'd like to experiment with Dockerfile Deploy, but don't have a suitable git repository handy, check out this Dockerfile Deploy Example.
Only pushing the the
masterbranch of the Aptible Git Remote will trigger to a deploy. If you push to a different branch, you can manually deploy the branch using the
aptible deploy --git-commitish $BRANCH_NAMECLI command. This can be used to synchronize code and configuration changes.
If SSO is enabled for your Aptible organization, attempts to use the git remote will return an
App not found or not accessibleerror. Users will need to be added to the allowlist to access your Organization's resources via git.
Updated about 1 month ago