Learn how Ryvn handles application deployments
auto_deploy
to false
in your configuration
Build
Pre-Deploy
Deploy
build
command performs all compilation and dependency installation. Examples for different runtimes:
Runtime | Example Commands |
---|---|
Node.js | yarn , npm install |
Python | pip install -r requirements.txt |
Go | go build -tags netgo -ldflags '-s -w' -o app |
Docker | Uses Dockerfile or pulls from registry |
pre-deploy
command runs after your service is built but before your service is deployed. Use it for tasks that
should always precede a deploy but aren’t tied to building your code, such as database migrations.
start
command runs your service. Examples for different runtimes:
Runtime | Example Commands |
---|---|
Node.js | yarn start , node index.js |
Python | gunicorn app:app |
Go | ./app |
Docker | Uses CMD from Dockerfile |