Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have come to DO App Platform from Heroku, and one teething problem i’ve had, is running processes after release, or during release for a Node.js app. Specifically running migrations .
In the past I’ve used postinstall, which usually works, but more recently I’ve used the release process type in a Procfile, which makes more sense.
DO doesn’t seem to support the release process type, but I wonder if i’m using it wrongly for DO?
web: npm start
release: npm run migrate
Also, I get unexpected behaviour using the postinstall method, as DO doesn’t run npm install when it has a cache of the node_modules I presume from package-lock.json.
I tried using a appspec.yml file, with an added build_command, and building via doctl apps create-deployment, but that doesn’t appear to run the postinstall command either.
build_command: npm install --production
Any ideas?! :)
a6309a057c3f4cb38fb2e7feb67236
KFSys
ef1ed44cc2154be3bcbb2d727878f8
Devs Neonetworks
1e6b823ea20d4cb189a34a922f5588
Telmo Valverde
erik-jan martens
Henry Mui
anthonycarreon
garantieheld
Marin